if (match == null || match[0] == "") { 
if (match == null || match[0] != ctrl_value) { 
function RegularExpressionValidatorEvaluateIsValid (validator){	var ValidationExpression = validator.getAttribute ("validationexpression");	var ControlToValidate = validator.getAttribute ("controltovalidate");	var ctrl_value = ValidatorTrim (ValidatorGetValue (ControlToValidate));	if (ctrl_value == "") {		ValidatorSucceeded (validator);		return true;	}  if (!HaveRegexp ())    return false; // better fail than pass invalidated input to the                  // backend  	var r = new RegExp (ValidationExpression);	match = r.exec (ctrl_value);	if (match == null || match[0] == "") {		ValidatorFailed (validator);		return false;	}	else {		ValidatorSucceeded (validator);		return true;	}}
7338	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/7338/480357e02d198b385b1e59e8bdd5768b53a9d844/WebUIValidation.js/buggy/mcs/class/System.Web/resources/WebUIValidation.js