What are the differences between perl and java regex capabilities?

The “Comparison to Perl 5” section of java.util.regex.Pattern lists many differences. For example, Java does not support conditional regex. For that, you need to use some external library like JRegex.

Leave a Comment