Hi,
I'd like to port a generic text processing tool, Texy!, from PHP to Java.
This tool does ungreedy matching everywhere, using preg_match_all("/.../U")
.
So I am looking for a library, which has some UNGREEDY
flag.
I know I could use the .*?
syntax, but there are really many regular expressions I would have to overwrite, and check them with every updated version.
I've checked
- ORO - seems to be abandoned
- Jakarta Regexp - no support
- java.util.regex - no support
Is there any such library?
Thanks, Ondra