@cm0002@lemmy.world to Programmer Humor@programming.dev • 2 months agoLike programming in bashlemmy.mlimagemessage-square185fedilinkarrow-up11.69Karrow-down118cross-posted to: programmerhumor@lemmy.ml
arrow-up11.67Karrow-down1imageLike programming in bashlemmy.ml@cm0002@lemmy.world to Programmer Humor@programming.dev • 2 months agomessage-square185fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-square@kameecoding@lemmy.worldlinkfedilink32•2 months agoMost of regex is pretty basic and easy to learn, it’s the look ahead and look behind that are the killers imo
minus-square@PoolloverNathan@programming.devlinkfedilinkEnglish11•2 months ago(?=) for positive lookahead and (?!) for negative lookahead. Stick a < in the middle for lookbehind.
Most of regex is pretty basic and easy to learn, it’s the look ahead and look behind that are the killers imo
(?=)
for positive lookahead and(?!)
for negative lookahead. Stick a<
in the middle for lookbehind.