DEV Community

Discussion on: How do you feel about regex?

Collapse
 
phantas0s profile image
Matthieu Cneude • Edited

If I can avoid it in my code, I will. They can grow like crazy overtime, and they become difficult to read and understand.

I love them in my editor (I use Vim btw) or to perform operations in the shell, however. It's super powerful for everything plain text: search, search and replace, repeating an action on specific lines... the list goes on.