this post was submitted on 05 Jul 2024
390 points (95.8% liked)

Programmer Humor

31793 readers
32 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] 45 points 1 month ago (3 children)

Blasphemy, that’s not regex that’s just fancy grep

[–] [email protected] 10 points 1 month ago* (last edited 1 month ago) (1 children)

I don't actually know whether POSIX grep would support named groups :o

[–] [email protected] 1 points 1 month ago (1 children)

Don't have you have to use the -P flag?

[–] [email protected] 2 points 1 month ago (1 children)
[–] [email protected] 2 points 1 month ago

Yes, but perl mode has more features.

[–] [email protected] 3 points 1 month ago

I don't fully disagree but you are walking on a fine line...

[–] [email protected] 2 points 1 month ago

any idea what the re in grep stands for?