4 ms·
It'd match the string, the same way /a/ would match "abcdefg." grep -o /ab+/ would only show "ab" from "abc" iirc, /ab(?![^b]+)/ would match "abb" but not "ab
by khafra 17y ago
It'd match the string, the same way /a/ would match "abcdefg."
grep -o /ab+/ would only show "ab" from "abc"
iirc, /ab(?![^b]+)/ would match "abb" but not "abc"