Steps to reproduce:
- Run
seq 100 | less
- Enter
/(3)|(4) and press Enter.
- Observe each 3 and 4 is highlighted.
- Enter
/ ctrl-S 1 and press Enter.
- Observe that each 3 and 4 remains highlighted.
- Enter
/ ctrl-S 1 (3)|(4) and press Enter.
Expected result:
Each 3 and 4 remains highlighted.
Actual result:
Only the 3's are highlighted.
Tested with less-672 built with PCRE regular expressions.
Steps to reproduce:
seq 100 | less/(3)|(4)and press Enter./ctrl-S1and press Enter./ctrl-S1(3)|(4)and press Enter.Expected result:
Each 3 and 4 remains highlighted.
Actual result:
Only the 3's are highlighted.
Tested with less-672 built with PCRE regular expressions.