271

you are viewing a single comment's thread
view the rest of the comments
[-] d_k_bo@feddit.de 60 points 1 year ago

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.

this post was submitted on 12 Nov 2023
271 points (95.3% liked)

Programmer Humor

32562 readers
648 users here now

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

Rules:

founded 5 years ago
MODERATORS