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

Programmer Humor

32410 readers
242 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] 44 points 4 months ago (3 children)

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

[–] VegOwOtenks 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

[–] qaz 1 points 4 months ago (1 children)

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

[–] OmnislashIsACloudApp 2 points 4 months ago (1 children)
[–] qaz 2 points 4 months ago

Yes, but perl mode has more features.

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

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

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

any idea what the re in grep stands for?