DEV Community

Discussion on: Boost your Productiveness with RegEx (a little)

Collapse
 
aadibajpai profile image
Aadi Bajpai

I love regular expressions! I was able to circumvent using two whole different APIs by employing some very clever regex string manipulation in one of my projects. The speed improvement is unparalleled.

Collapse
 
stealthmusic profile image
Jan Wedel • Edited

It depends on the circumstances and requirements but I’d still reply with:
dev.to/stealthmusic/comment/cnm2

Collapse
 
aadibajpai profile image
Aadi Bajpai

I'd say that regex should be used if they can make a significant difference and you're aware of the scope of the problem being solved by it. That's where Cloudflare went wrong, I'd say. I use it for url formatting so even if it goes wrong, all I get is a 404 hopefully :P