Is there a shortcut for word boundary in `less`?

后端 未结 4 824
情书的邮戳
情书的邮戳 2021-01-11 12:22

This is the less I am using:

less 458 (POSIX regular expressions)
Copyright (C) 1984-2012 Mark Nudelman

In Vim it is \\< a

4条回答
  •  旧巷少年郎
    2021-01-11 12:55

    less generally uses vi syntax, i.e. \< and \> unless it has been compiled with the --with-regex=none configure option or if the regular expression library found at compilation time doesn't provide word boundary search. Your system might also provide a different syntax.

提交回复
热议问题