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
-
BordedDev196610h@D-4got10-01 Hahaha, it was simple stuff, conditionally truncating a string (based on length) and adding ellipses and removing the largest number 5 from a number e.g. 51 -> 1
-
YourMom9756h@D-4got10-01 that comic is my alter ego that again has to learn regex to use it once in a blue moon. Each time rip off my outer shirt to reveal the large logo of an R on my under shirt.
-
I get so overly excited whenever there’s an opportunity to use regular expressions. I actually had a legitimate reason to write regular expressions at work a month or so ago and every standup for a while was like “I AM SO FREAKING HAPPY RIGHT NOW (I AM SO SORRY FOR WHOEVER HAS TO REVIEW THIS PR - I’LL TRY TO COMMENT EXTENSIVELY)”
-
YourMom9755h@D-4got10-01 ooh, Rx, the regex doctor/pharmacist is here! You know, regex can be an addiction. So I think Rx should imply the regex drug dealer is here.
Related Rants
Just finished the code tests. I swear all of them could have just been regex. The first 2 I know can be because I did.
The last one was pattern matching in an array of strings (think battleships)
I actually fucked up the second test because I decided that they probably want code instead of regex...
rant
regex
lame tests
code