Re: no regular expressions in less

2021-07-21 Thread Ilya Basin via Cygwin
Yes, 32bit.

On 21.07.2021 21:18, Takashi Yano wrote:
> On Wed, 21 Jul 2021 20:43:54 +0300
> Basin Ilya via Cygwin  wrote:
>> Hi list.
>> I've just noticed that regexp search works identically to exact match search 
>> in less and it prints this:
>>
>> $ /usr/bin/less --version
>> less 581.2 (no regular expressions)
> 
> Are you using 32bit version of cygwin?
> In my environment, this only happens in 32bit cygwin.
> 
> In 64 bit cygwin, it says:
> 
> less 581.2 (PCRE2 regular expressions)
> Copyright (C) 1984-2021  Mark Nudelman
> 
> 

-- 
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: no regular expressions in less

2021-07-21 Thread Marco Atzeri via Cygwin

On 21.07.2021 20:21, Marco Atzeri wrote:

On 21.07.2021 19:43, Basin Ilya via Cygwin wrote:

Hi list.
I've just noticed that regexp search works identically to exact match 
search in less and it prints this:


 $ /usr/bin/less --version
 less 581.2 (no regular expressions)




How to solve this?


Hi Basin,

it seems missing for the 32bit version,
on 64bit it is present.



new 32bit version less-581.2-2
is on the way.

Regards
Marco

--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: no regular expressions in less

2021-07-21 Thread Marco Atzeri via Cygwin

On 21.07.2021 19:43, Basin Ilya via Cygwin wrote:

Hi list.
I've just noticed that regexp search works identically to exact match search in 
less and it prints this:

 $ /usr/bin/less --version
 less 581.2 (no regular expressions)
 Copyright (C) 1984-2021  Mark Nudelman
 
 less comes with NO WARRANTY, to the extent permitted by law.

 For information about the terms of redistribution,
 see the file named README in the less distribution.
 Home page: https://greenwoodsoftware.com/less

How to solve this?


Hi Basin,

it seems missing for the 32bit version,
on 64bit it is present.

$ less --version
less 581.2 (PCRE2 regular expressions)
Copyright (C) 1984-2021  Mark Nudelman

But for both the library is present

$ cygcheck -cd |grep "pcre.*devel"
libpcre-devel   8.45-1
libpcre2-devel  10.37-1

let me investigate why the 32bit has such issue.

Regards
Marco

--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: no regular expressions in less

2021-07-21 Thread Takashi Yano via Cygwin
On Wed, 21 Jul 2021 20:43:54 +0300
Basin Ilya via Cygwin  wrote:
> Hi list.
> I've just noticed that regexp search works identically to exact match search 
> in less and it prints this:
> 
> $ /usr/bin/less --version
> less 581.2 (no regular expressions)

Are you using 32bit version of cygwin?
In my environment, this only happens in 32bit cygwin.

In 64 bit cygwin, it says:

less 581.2 (PCRE2 regular expressions)
Copyright (C) 1984-2021  Mark Nudelman


-- 
Takashi Yano 

-- 
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


no regular expressions in less

2021-07-21 Thread Basin Ilya via Cygwin
Hi list.
I've just noticed that regexp search works identically to exact match search in 
less and it prints this:

$ /usr/bin/less --version
less 581.2 (no regular expressions)
Copyright (C) 1984-2021  Mark Nudelman

less comes with NO WARRANTY, to the extent permitted by law.
For information about the terms of redistribution,
see the file named README in the less distribution.
Home page: https://greenwoodsoftware.com/less

How to solve this?

-- 
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple