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
-
eo287539924y@bagfox I disagree. Sometimes regular expressions are too much abstraction if your use cases are small. There's been a couple of times where I took almost an hour trying to figure out a regex before I realized I just needed a very limited number of possibilities.
But you should definitely learn regex. -
bagfox8724y@eo2875 If you need too long time to understand it, or the regex is too long, it’s a bad regex.
Regex‘s do not exist to put many replacement actions into one. E.g. every email regex is a bad email regex. -
hjk10156964yRegex is just a tool. A handy one but not strictly necessity. Most C programmers don't use it. (Tailored logic is faster and more compact, that usually matters when you need the controle C provides)
-
@devrant Need an oiption where I spends all my ++ to vote all for ONE post, once a year maybe. Thios one is it for me.
20 years in dev. NEVER used regEx.
Related Rants
\S+?@\S+?\.\W(\.\W)?
joke/meme
regex