add: if(sep=="."){sep="\\.";} 
context: dojo.number._integerRegexp = function(/*Object?*/flags){	// summary: 	//		Builds a regular expression that matches an integer	// flags: 	//		An object	//		flags.signed :	//			The leading plus-or-minus sign. Can be true, false, or [true,	//			false]. Default is [true, false], (i.e. will match if it is	//			signed or unsigned).	//		flags.separator:	//			The character used as the thousands separator. Default is no	//			separator. For more than one symbol use an array, e.g. [",",	//			""], makes ',' optional.	//		flags.groupSize: group size between separators	//		flags.groupSize2: second grouping (for India)	// assign default values to missing paramters	flags = (typeof flags == "object") ? flags : {};	if(typeof flags.signed == "undefined"){ flags.signed = [true, false]; }	if(typeof flags.separator == "undefined"){		flags.separator = "";	}else if(typeof flags.groupSize == "undefined"){		flags.groupSize = 3;	}	// build sign RE	var signRE = dojo.regexp.buildGroupRE(flags.signed,		function(q) { return q ? "[-+]" : ""; },		true	);	// number RE	var numberRE = dojo.regexp.buildGroupRE(flags.separator,		function(sep){ 			if(!sep){ 				return "(?:0|[1-9]\\d*)";			}			var grp = flags.groupSize, grp2 = flags.groupSize2;			if(grp2){				var grp2RE = "(?:0|[1-9]\\d{0," + (grp2-1) + "}(?:[" + sep + "]\\d{" + grp2 + "})*[" + sep + "]\\d{" + grp + "})";				return ((grp-grp2) > 0) ? "(?:" + grp2RE + "|(?:0|[1-9]\\d{0," + (grp-1) + "}))" : grp2RE;			}			return "(?:0|[1-9]\\d{0," + (grp-1) + "}(?:[" + sep + "]\\d{" + grp + "})*)";		},		true	);	// integer RE	return signRE + numberRE; // String}
meta: 4497	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/4497/ceca4d46374863398d9229023c50780c9a9404b6/number.js/buggy/number.js