Wanted: a very simple java RegExp API
Posted
by itsadok
on Stack Overflow
See other posts from Stack Overflow
or by itsadok
Published on 2010-05-10T09:38:49Z
Indexed on
2010/05/10
9:44 UTC
Read the original article
Hit count: 426
I'm tired of writing
Pattern p = Pattern.compile(...
Matcher m = p.matcher(str);
if (m.find()) {
...
Over and over again in my code. I was going to write a helper class to make it neater, but I then I wondered: is there a library that tries to provide a simpler facade for Regular Expressions in Java?
I'm thinking something in the style of commons-lang and Guava.
© Stack Overflow or respective owner