Re: change in pattern matching in pager /usr/bin/less

2019-09-03 Thread Andrey Repin
Greetings, L A Walsh! > For some reason, the behavior of less has changed recently in regards to how > it interprets characters like '\s' (whitespace). Not recently. Been that way for a long while. I've questioned this behavior on at least two occasions, and the last time we've found out that

Re: change in pattern matching in pager /usr/bin/less

2019-09-02 Thread Steven Penny
On Sun, 01 Sep 2019 17:50:17, L A Walsh wrote: part of this is that the new cygwin less appears to use Obsolete REs that don't support '+'. That may be a compile flag. I don't know why \s is not working, however, 'awk' used to be the definitive Extended (modern) RE reference and does use \s

Re: change in pattern matching in pager /usr/bin/less

2019-09-02 Thread Wayne Davison
On Sun, Sep 1, 2019 at 5:50 PM L A Walsh wrote: > For some reason, the behavior of less has changed recently in regards to how > it interprets characters like '\s' (whitespace). Sadly, it's been compiled with POSIX regular expressions on Cygwin for quite a while now. On Linux it is often compiled

change in pattern matching in pager /usr/bin/less

2019-09-01 Thread L A Walsh
For some reason, the behavior of less has changed recently in regards to how it interprets characters like '\s' (whitespace). Unlike previous versions which worked to use '\s' for whitespace and use '+' for '1 or more', there seems to be nothing for \s and to use '+' you would need *. This