solving regex problems in java middle tier

Does anyone have experience solving difficult matching, transformation, extractionproblems in the java middle tier with java.util.regex or are people using Perl?Success stories?Andy
[209 byte] By [p7ea] at [2007-11-26 14:11:58]
# 1
What's so special about regex in a middle tier compared to other, um, places?
quittea at 2007-7-8 2:00:20 > top of Java-index,Java Essentials,Java Programming...
# 2
> Does anyone have experience solving difficult> matching, transformation, extraction> problems in the java middle tier with java.util.regexYes I and several others have though the real regex Guru on this forum is 'uncle_alice' .
sabre150a at 2007-7-8 2:00:20 > top of Java-index,Java Essentials,Java Programming...
# 3
@Op. Why would we use perl?
kajbja at 2007-7-8 2:00:20 > top of Java-index,Java Essentials,Java Programming...
# 4
The question makes little sense. Are you a journalist?
paulcwa at 2007-7-8 2:00:20 > top of Java-index,Java Essentials,Java Programming...
# 5
The reason I ask is because the Perl grammar for regexes is much morepowerful, both syntactically sugar-wise, and code assertions. Having saidthat, I'm a Java programmer, not a Perl programmer.
p7ea at 2007-7-8 2:00:20 > top of Java-index,Java Essentials,Java Programming...
# 6

> The reason I ask is because the Perl grammar for

> regexes is much more

> powerful, both syntactically sugar-wise, and code

> assertions. Having said

> that, I'm a Java programmer, not a Perl programmer.

well, it all depends on your needs. I wouldn't use PERL just because its regex support is stronger. if my problem needed that extra power, I'd consider it, but I'd never make a technology choice purely based on esoteric "it's more powerful"-type facts. the right tool for the job, always

georgemca at 2007-7-8 2:00:20 > top of Java-index,Java Essentials,Java Programming...