DEV Community

Discussion on: How do you feel about regex?

Collapse
 
pinotattari profile image
Riccardo Bernardini • Edited

I love them. I find them really powerful and flexible, especially in script-like languages like Ruby.

Yes, I know, sometimes they look like line noise... That is maybe their major drawback, but it is compensated by their power.

How much do I understand regexp? Well, it is difficult to judge yourself, but I think I know them pretty well, although there are maybe some features (e.g. greedy vs not greedy) that I do not use often and I need to check the manual.

Oh, yes, BTW, with regexp-search-and-replace in emacs you can do miracles...