Fellow monks,
As I was exchanging e-mail with one of the Java programmers in an
NLP (Natural Language Processing project for Turkish I advised using RegExp for some processing. He said that RegExp was okay and latest version of Java runtime included a RegExp engine. After that he commented that "
Java's RegExp is way much faster than Perlīs". I was startled! He linked to an article:
Java Regexp Wrangling.
Since I don't know much about the internals of Perl's RegExp mechanism I couldn't comment further but I'd like to be enlightened.
Did you have similar experiments? Can you comment on Java's RegExp being faster than Perl's? Or is the example misleading? If so, in what ways? I'm really curious about this matter and I'd like to hear your detailed comments.