Re: perl5 util for regular expression in struts validator
"Daniel F. Savarese" <[email protected]>
| Newsgroups | gmane.comp.jakarta.oro.devel |
|---|---|
| Message-ID | <[email protected]> |
In message <[email protected]>, richmond te wri tes: >there seems to be a bug in the struts validator use of the perl5 util in the r >egular expressions. i am currently using this as my expression ^[a-zA-Z0-9\s-. >/*]*$ and it works. I don't know what the struts code does, so I can't help there. But straight up Perl5Util you can use patterns like: "/foo\\/bar\\&/" #foo/bar\\&# daniel