public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* no regular expressions in less
@ 2021-07-21 17:43 Basin Ilya
  2021-07-21 18:18 ` Takashi Yano
  2021-07-21 18:21 ` Marco Atzeri
  0 siblings, 2 replies; 5+ messages in thread
From: Basin Ilya @ 2021-07-21 17:43 UTC (permalink / raw)
  To: 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?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: no regular expressions in less
  2021-07-21 17:43 no regular expressions in less Basin Ilya
@ 2021-07-21 18:18 ` Takashi Yano
  2021-07-21 22:27   ` basinilya
  2021-07-21 18:21 ` Marco Atzeri
  1 sibling, 1 reply; 5+ messages in thread
From: Takashi Yano @ 2021-07-21 18:18 UTC (permalink / raw)
  To: cygwin; +Cc: Basin Ilya

On Wed, 21 Jul 2021 20:43:54 +0300
Basin Ilya via Cygwin <cygwin@cygwin.com> 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 <takashi.yano@nifty.ne.jp>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: no regular expressions in less
  2021-07-21 17:43 no regular expressions in less Basin Ilya
  2021-07-21 18:18 ` Takashi Yano
@ 2021-07-21 18:21 ` Marco Atzeri
  2021-07-21 18:30   ` Marco Atzeri
  1 sibling, 1 reply; 5+ messages in thread
From: Marco Atzeri @ 2021-07-21 18:21 UTC (permalink / raw)
  To: 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: no regular expressions in less
  2021-07-21 18:21 ` Marco Atzeri
@ 2021-07-21 18:30   ` Marco Atzeri
  0 siblings, 0 replies; 5+ messages in thread
From: Marco Atzeri @ 2021-07-21 18:30 UTC (permalink / raw)
  To: 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: no regular expressions in less
  2021-07-21 18:18 ` Takashi Yano
@ 2021-07-21 22:27   ` basinilya
  0 siblings, 0 replies; 5+ messages in thread
From: basinilya @ 2021-07-21 22:27 UTC (permalink / raw)
  To: Takashi Yano, 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 <cygwin@cygwin.com> 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
> 
> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-07-21 22:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-21 17:43 no regular expressions in less Basin Ilya
2021-07-21 18:18 ` Takashi Yano
2021-07-21 22:27   ` basinilya
2021-07-21 18:21 ` Marco Atzeri
2021-07-21 18:30   ` Marco Atzeri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).