Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.0.5, 1.1
-
None
-
None
-
Patch
Description
Attached is a new "StringRegexValidator" that ensures the string value matches any configured regular expression.
Also attached is a new version of the EmailValidator that actually works. The one in the codebase did very pitiful checking, as it would allow strings such as "me@somewhere" to validate — though that is obviously not a valid email address (it does not end in .com, .net, etc. etc.) It is based on the above StringRegexValidator and uses and expression similar to that used by the JavaScriptEmailValidator in WebWork.
I'll be happy to do the work of checking this in (I have XWork commit priveleges) - just wanted to get an OK. And a double-OK to put it into XWork 1.1 (is that still the trunk?).
Attachments
Issue Links
- relates to
-
XW-234 regular expression validator
- Resolved