You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oro-dev@jakarta.apache.org by richmond te <ri...@yahoo.com> on 2002/11/14 02:16:06 UTC

perl5 util for regular expression in struts validator

there seems to be a bug in the struts validator use of the perl5 util in the regular expressions. i am currently using this as my expression ^[a-zA-Z0-9\s-./*]*$ and it works. 

however, all other documentation that i can find says that any metacharacters should be delimited by a forward slash which in the above case only works for the space (\s). also, there seem to be no way of representing ampersand (&) as i have tried it with the delimiter and without but it still does not work.

any response would be greatly appreciated.. thanks.



---------------------------------
Do you Yahoo!?
U2 on LAUNCH - Exclusive medley & videos from Greatest Hits CD