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

Programmer Humor

32061 readers
1248 users here now

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

Rules:

founded 5 years ago
MODERATORS
 

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 16 points 10 months ago (1 children)

It's really not too bad as long as:

  • you use a proper IDE (e.g. Regex101) with highlighting and piecewise explanations

  • you use named capturing groups

  • you give the regex a descriptive name in your code

[โ€“] [email protected] 3 points 10 months ago

People write regex in notepad and complain it doesn't work on the first try...