Hacker News new | ask | show | jobs
by esschul 5108 days ago
I use sublime text for this. Considering how many regexes I write a day, I actually need a text editor that has this support. Don't you ? :)
1 comments

No. Regexes are a hack. I don't write them every day, I write them when I need a hack to get around a problem there isn't a good solution for.
Why do you say regex's are hacks? Aren't they nice to use in order to search and replace text? It's really powerful!
Regexs are not hacks. They are part of a programmers toolchest. Just because you write them when you cannot think of a better solution doesn't make them a hack.

They are a legitimate solution for efficient text matching problems.