Replied to list.

rama chandrula wrote:
> I have the following Regex in Java
> [A-Za-z0-9]+([_.*-]?[A-Za-z0-9]+)[EMAIL PROTECTED]([.-]?[A-Za-z0-9]+)*
>
> Any tips to convert so that it will work with ORO.
Yes; use the 'email' built-in validator rule from commons-validator.

Other than that, I am immediately suspicious of . and * in regexes,
especially Perl-ish ones, as they generally need to be escaped before use.

That said, I'm not overly-familiar with regex in Java, so will defer to
those with more knowledge (in other words, everybody :)

Dave



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

Reply via email to