this post was submitted on 05 Jul 2024
399 points (95.9% liked)

Programmer Humor

31943 readers
699 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 2 months ago (6 children)

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

[–] [email protected] 10 points 2 months ago* (last edited 2 months ago) (3 children)

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

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

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

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

Yes, but perl mode has more features.

load more comments (2 replies)