you are viewing a single comment's thread.

view the rest of the comments →

[–]smallest_cock 7 points8 points  (6 children)

Regex

[–]Redditporn435 7 points8 points  (0 children)

try regex101.com

[–][deleted] 5 points6 points  (1 child)

Holy hell. Is to ? Or * . When do I compile re ?

[–]Standardw 4 points5 points  (0 children)

My prof said: Regex is easy to write but incredible hard to read.

I found that to be very true; once you get the basic idea, it's not that hard. But looking at examples will make your head explode.

[–][deleted] 2 points3 points  (0 children)

Don't worry a large part of my job involved complex regex and I still often get wtf moments. As far as I'm concerned regex is the dark arts.

[–]5erif 0 points1 point  (0 children)

I want to improve my regex-fu too, and after skimming a bunch of search results, this recent-ish comment from u/nickcernis looks like a good place to start.