DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26199>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26199

[validator] Change regex in mask so ^ and $ not required at start/end





------- Additional Comments From [EMAIL PROTECTED]  2004-02-11 10:52 -------
I haven't used 1.4 regexp - but when this was being discussed on the mailing 
list David Graham mentioned that ORO worked different from 1.4 regexp in this 
respect - perhaps he would confirm this.

I tried out the javascript and without the 'anchors' invalid data in the field 
passes validation. I found this site http://www.regular-
expressions.info/anchors.html which says they are needed, otherwise it is doing 
a 'contains' rather than 'matches' type check.

Having said all that, I think this is still a valid change. My change doesn't 
stop regular expressions with the ^ and $ characters from working - they still 
work fine, but if this change is implemented, then for server side the mask 
validations will also work if you don't put them in. Isn't this a win win 
situation?

Niall


Niall

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to