@cm0002@lemmy.world to Programmer Humor@programming.dev • 14 days agoLike programming in bashlemmy.mlimagemessage-square187fedilinkarrow-up11.67Karrow-down116
arrow-up11.66Karrow-down1imageLike programming in bashlemmy.ml@cm0002@lemmy.world to Programmer Humor@programming.dev • 14 days agomessage-square187fedilink
minus-square@kameecoding@lemmy.worldlinkfedilink32•14 days 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•14 days 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.