Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
kamen69254yDepends on what you're doing. Also, they're somewhat easy to write, but they're not exactly easy to read, especially if written by someone else ("someone else" might be you, but six months earlier).
-
C0D4669024yIf they are small, sure
If they are several lines long... tell me again how they're easy 😏 -
Given enough time and money, everything is easy.
Any language is easy if you already are a speaker of it. -
it's a language.
as soon as you speak it often enough to speak it fluently, it makes all so much sense... -
webapp5944yIf you want to read them after 6+ months, a tool like regexbuddy is a lifechanger!
www.regexbuddy.com -
Regexes aren't usually that difficult. Every time I end up with an unusually long or complicated regex pattern, it's usually because there's a much easier solution that I didn't consider before trying to solve it with regex.
-
Regular expressions are indeed somewhat easy.
But what most people are using and what normally is called regular expressions isn't really regular - and therefore a swamp full of pitfalls and crocodiles which also happens to contain some pregnant hippos trained in the art of surprise... -
Why do you have to write that? You can find Regex for almost everything online, If you understand it, you can modify them to your needs.
-
hjk10156964yThere are some features and some situations (where you really shouldn't use regex) that make it hard but mostly yeah it's relatively easy.
Unpopular opinion: Regular expressions are easy
random