in reply to Re^5: Regex conditional match if previous match in same expression is true?
in thread Regex conditional match if previous match in same expression is true?
Yes, the Jakarta-ORO provides a Perl5Matcher class (and relatives) that supports all of the Perl-5 regex engine, with the (fairly obvious) exception of being able to execute Perl inside a regex.
It's been a lifesaver on one of my current projects, where I have to use Java (plugins for a J2EE app, plus boss requirement) to do tasks particularly suited to regexen. I'm thankful to the Jakarta folks for making it so that I don't have to learn Yet Another Regex Syntax. ;-)
|
|---|