Stefan Matthias Aust <sma / 3plus4.de> wrote: >"Wayne Blair" <wayne.blair / relian.com> wrote: [...] >Well, for me it looks like the Java one is a superset of the Ruby RE >engine, but perhaps somebody who knows more about RE want to look at >http://java.sun.com/j2se/1.4/docs/api/java/util/regex/Pattern.html At a glance it doesn't support embedded comments. Also I notice that its summary of differences between it and Perl is not entirely accurate. For instance Perl has possessive quantifiers that will not back off even if that means the match fails, look up (?>...). I am willing to forgive them for not including in the list of features that Perl has which they do not the new features in 5.6 that allow matching nested structures patterns in an RE. (Ruby does not have this yet either.) Cheers, Ben