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

Programmer Humor

32481 readers
223 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 4 months ago (3 children)

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

[–] [email protected] 2 points 4 months ago

any idea what the re in grep stands for?

[–] [email protected] 3 points 4 months ago

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

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

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

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

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

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

Yes, but perl mode has more features.