cm0002@lemmy.world to Programmer Humor@programming.dev · 4 months agoLike programming in bashimagemessage-square25fedilinkarrow-up167arrow-down12cross-posted to: programmerhumor@lemmy.ml
arrow-up165arrow-down1imageLike programming in bashcm0002@lemmy.world to Programmer Humor@programming.dev · 4 months agomessage-square25fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squarePoolloverNathan@programming.devlinkfedilinkEnglisharrow-up2·4 months ago(?=) for positive lookahead and (?!) for negative lookahead. Stick a < in the middle for lookbehind.
(?=)
for positive lookahead and(?!)
for negative lookahead. Stick a<
in the middle for lookbehind.