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?
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.
Ah, so it can be a RegExp object as well? Thanks. That's helpful.