this post was submitted on 05 Mar 2025
1526 points (99.0% liked)

Programmer Humor

20954 readers
3025 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] kameecoding 29 points 1 day ago (1 children)

Most of regex is pretty basic and easy to learn, it's the look ahead and look behind that are the killers imo

[โ€“] [email protected] 10 points 1 day ago

(?=) for positive lookahead and (?!) for negative lookahead. Stick a < in the middle for lookbehind.