/-o\>
Seems to work, albeit you’ll hit later mentions doing it more than once, but yeah word boundary searches are awesome.
Agree with your overall suggestion, just a tip for when the man page doesnt cooperate.
I’m a guy on the internet. Nothing to see here.
/-o\>
Seems to work, albeit you’ll hit later mentions doing it more than once, but yeah word boundary searches are awesome.
Agree with your overall suggestion, just a tip for when the man page doesnt cooperate.
It depends on how the document is written, but \> stops matching on a period, comma, apostrophe, space, newline, what have you. Word boundary matching is just very handy.
As to why its that set of characters… Honestly I have no idea :) Regexes are just what they are and I assume the special escape made sense to the inventor at least.