this post was submitted on 12 Nov 2023
252 points (95.7% liked)

Programmer Humor

32410 readers
1 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS
 

you are viewing a single comment's thread
view the rest of the comments
[–] backhdlp@lemmy.blahaj.zone 40 points 2 years ago (34 children)

I still don't understand regex at all

[–] d_k_bo@feddit.de 54 points 2 years ago (10 children)

I recommend using https://regex101.com/

It explains all parts of your regex and highlights all matches in your example text. I usually add a comment to a regex101 playground if I use a regex in code.

load more comments (8 replies)
load more comments (31 replies)