@cm0002@lemmy.world to Programmer Humor@programming.dev • 3 months agoLike programming in bashlemmy.mlimagemessage-square168fedilinkarrow-up11arrow-down10cross-posted to: programmerhumor@lemmy.ml
arrow-up11arrow-down1imageLike programming in bashlemmy.ml@cm0002@lemmy.world to Programmer Humor@programming.dev • 3 months agomessage-square168fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-square@kameecoding@lemmy.worldlinkfedilink0•3 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.devlinkfedilinkEnglish0•3 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.