in reply to Need Set-like Regex for Perl and Java (golf OK)
I'm way out of date with Java, but it seems much more likely that it will have a class available that would been sufficiently equivalent to perls hashes for this purpose (Set, Map or Bag spring to mind), than it will have equivalent features in it's regex engine to perl's (?{...}) (??{...}) or (?()..|...) extensions.
|
|---|