The character classes [[:<:]]
and [[:>:]]
match beginning and end of word, respectively, in system less
on OS X 10.11.5. I haven't found a way to make the documented short forms \<
, \>
, or \b
work.
(Thanks to denis for the suggestion to check man 7 re_format
.)