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
-
@RememberMe Still working on that stupid pipe dream of a program to generate more human-readable English descriptions for regular expressions in order to create an extension to append those as code comments.
-
Rudi7154yRegular expressions aren't meant to be understood, they're meant to be magic. The other day I was trying to nuke specific drives on an install (Storinator by 45 Drives) and randomly pulled out '/dev/sd[^abd]$' I don't know what possessed me to put the ^ inside the bracket, or the $ at the end, but it successfully pulled every device it needed, and ignored the partitions because apparently $ meant end of line. I know I studied this witchcraft at some point in college but I've never actually used it like that. Then you have people who can even pull data out of regular expressions! /(1/). My heroes lol
-
@Rudi *eye twitch* I have so many regex rules in my head right now, it’s gotten to the point that I occasionally look for issues in other libraries to see if I can help clarify things because I KNOW TOO MUCH NOW.
Related Rants
Guys. GUYS. There are so many freaking weird edge cases for regular expression evaluation. *head desk*
rant
passion project
why do i do this to myself
regular expressions