In message <000401c13152$92568eb0$[EMAIL PROTECTED]>, "Joe Pardi" writes:
>I'm currently using the Regexp package to do it server-side but need the
>library that best matches the JavaScript equivalent. Sounds like you
>recommend I should use Perl5Util instead?
I only mentioned Perl5Util because JavaScript regular expressions appear
to borrow the "/pattern/" format from Perl. I tend to recommend directly
using the classes in org.apache.text.oro.regex whenever possible for
better overall performance, but most people tend to find Perl5Util easier
to use. Regarding regexp, even though it contains many Perlisms, it's not
strictly a Perl regular expression package, so even though I normally
wouldn't dissuade anyone from using regexp, if you're looking for Perl
compatibility, I'd go with oro (mind you, we're still largely stuck in
5.003 compatibility mode, but I hope to stir up oro-dev and launch
the drive to 5.6 compatibility soon).
>By the way, nice job with all of you stuff (ORO, Regexp, etc.).
I'm not in any way responsible for regexp, but I hope to find some time
to help fix some of the bugs that have been reported in it. We
tentatively talked about shaping up regexp into a final 99% bug-free
release and then migrating it into an org.apache.oro.text.posix package,
but I'm afraid that's stalled out for now.
Regarding taglibs, if you haven't already, you may want to check out the
Jakarta Taglibs project which has already done the legwork for incorporating
Perl regular expression matching (using oro) into a tag library
(http://jakarta.apache.org/taglibs/doc/regexp-doc/intro.html).
daniel