JavaAfter pulling my hair out trying to use the String.matches() function I stumbled upon this entry that helped me realize that I wasn’t going crazy, but that there actually was something wrong (unexpected) happening. The entire string needed to match not just a part as I was thinking. I’m glad I’m not nuts!

And now I’ve found this tool that should show what will be matched given a java reg expression. Where have you been all my life (ie since Friday)

Tagged with:
 

Comments are closed.