rem: if(typeof flags.fractional == "undefined"){ flags.fractional = [true, false]; } 
add: if(typeof flags.fractional == "undefined" || /^0/.test(flags.places)){ flags.fractional = [true, false]; } 
context: dojo.number._realNumberRegexp = function(/*Object?*/flags){	// summary: Builds a regular expression to match a real number in exponential notation	//	// flags:An object	//		flags.places:	//			The integer number of decimal places or a range given as "n,m".	//			If not given, the decimal part is optional and the number of	//			places is unlimited.	//		flags.decimal:	//			A string for the character used as the decimal point.  Default	//			is ".".	//    flags.fractional:	//			Whether decimal places are allowed.  Can be true, false, or	//			[true, false].  Default is [true, false]	//    flags.exponent:	//			Express in exponential notation.  Can be true, false, or [true,	//			false]. Default is [true, false], (i.e. will match if the	//			exponential part is present are not).	//    flags.eSigned:	//			The leading plus-or-minus sign on the exponent.  Can be true,	//			false, or [true, false].  Default is [true, false], (i.e. will	//			match if it is signed or unsigned).  flags in regexp.integer	//			can be applied.	// assign default values to missing paramters	flags = flags || {};	if(typeof flags.places == "undefined"){ flags.places = Infinity; }	if(typeof flags.decimal != "string"){ flags.decimal = "."; }	if(typeof flags.fractional == "undefined"){ flags.fractional = [true, false]; }	if(typeof flags.exponent == "undefined"){ flags.exponent = [true, false]; }	if(typeof flags.eSigned == "undefined"){ flags.eSigned = [true, false]; }	// integer RE	var integerRE = dojo.number._integerRegexp(flags);	// decimal RE	var decimalRE = dojo.regexp.buildGroupRE(flags.fractional,		function(q){			var re = "";			if(q && (flags.places!==0)){				re = "\\" + flags.decimal;				if(flags.places == Infinity){ 					re = "(?:" + re + "\\d+)?"; 				}else{					re += "\\d{" + flags.places + "}"; 				}			}			return re;		},		true	);	// exponent RE	var exponentRE = dojo.regexp.buildGroupRE(flags.exponent,		function(q){ 			if(q){ return "([eE]" + dojo.number._integerRegexp({ signed: flags.eSigned}) + ")"; }			return ""; 		}	);	// real number RE	var realRE = integerRE + decimalRE;	// allow for decimals without integers, e.g. .25	if(decimalRE){realRE = "(?:(?:"+ realRE + ")|(?:" + decimalRE + "))";}	return realRE + exponentRE; // String};
meta: 4497	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/4497/b905c4b6393f89090c4a5d53847cc506e9b6bc4f/number.js/clean/number.js