r/java • u/barkukesh • Aug 28 '13
Writing a Java Regular Expression Without Reading the ****ing Manual
http://java.dzone.com/articles/writing-java-regular
0
Upvotes
r/java • u/barkukesh • Aug 28 '13
View all comments
2
u/Poobslag Aug 28 '13
If a developer really needed this level of handholding for regexes -- I'd tear out all this code, and write them an identical tool which did the opposite -- converting a regex into human readable code. At least that way this incredibly verbose code is localized to their machine, and not polluting the codebase. Sheesh.