Red Hat Bugzilla – Bug 963523
search:begin-of-word,end-of-word (eg /\<man\>) dont work in rhel6 less
Last modified: 2013-07-04 04:17:38 EDT
Description of problem: a search such as /\<man\> (containing begin-of-word and end-of-word) doesn't work in rhel6 less.
Version-Release number of selected component (if applicable): less 436 10.el6 x86_64
How reproducible: always
Steps to Reproduce:
1. man man
Actual results: Pattern not found
Expected results: search should succeed
Additional info: works fine elsewhere, eg rhel5, and ubuntu precise
thanks for your report! less used in RHEL6 is built with pcre (Perl Compatible
Regular Expressions). If you want to perform such search, you have to
use following regexp:
I am closing this as NOTABUG.