Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yeah, exactly. Every time I try doing these things with regex there winds up being some edge case where something that should have been picked up isn't or vice versa. Then there are ambiguous cases of references in comments and non-code files for which IDEA provides a very straightforward UI experience to include or exclude by various categories or on a case-by-case basis.

Even in the best case scenario where regex works, you've still spent unnecessary mental overhead writing regex, a tool that is so difficult to use properly that it is the textbook example of being a 'solution' that causes more problems than it solves. Why subject oneself to such unnecessary hassle?



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: