The documentation for igValidator Options (http://help.infragistics.com/jQuery/2012.1/ui.igvalidator) says regExp is an enumeration, but doesn't provide the enumeration values (as most of the documented enumerations) and the example is a string, which makes more sense anyway. Should it be listed as a string? Is this merely a documentation glitch?
Ah, so it can be a RegExp object as well? Thanks. That's helpful.
Hello Pete,
The regExp option can be either string or object. That's why it's declared as enumeration type. The problem is that there is no additional information which explains this. I've logged and internal bug with number 139620 in order to fix this.
Best regards,Martin Pavlov
Infragistics, Inc.
Thank you for contacting Infragistics. This appears to be an issue with the documentation. As you can see from the documentation on regExp it say the following “Gets or sets regular expression which is used to validate value in text editor.”
http://help.infragistics.com/NetAdvantage/jQuery/2012.2/CLR4.0?page=Infragistics.Web.Mvc~Infragistics.Web.Mvc.EditorValidatorOptions~RegExp.html
Please let me know if you have any further questions concerning this matter.
Sincerely,Mike P.Developer Support Engineer IIInfragistics, Inc.www.infragistics.com