in reply to Re: From Perl to Java
The piece of code qr/$regex/ depends on Perl's implementation of regular expressions and is therefore not directly translatable to Java. It may be translatable if $regex only contains a subset of Perl's regex features, but your post does not specify that.
|
|---|