emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master 544db1e: Faster grep pattern for identifiers


From: Omar Polo
Subject: Re: master 544db1e: Faster grep pattern for identifiers
Date: Thu, 16 Sep 2021 09:28:24 +0200
User-agent: mu4e 1.6.6; emacs 28.0.50

Eli Zaretskii <eliz@gnu.org> writes:

>> Cc: mattiase@acm.org, emacs-devel@gnu.org
>> From: Dmitry Gutov <dgutov@yandex.ru>
>> Date: Wed, 15 Sep 2021 21:06:09 +0300
>> 
>> On 15.09.2021 19:33, Eli Zaretskii wrote:
>> > And what about the "alternative Grep's"?
>> 
>> The author of the commit uses one such Grep.
>> 
>> I also tested with ripgrep, to similar success.
>
> So they all have, miraculously, the same notion of what is a word,
> regardless of the programming language and the script/character set?
> Amazing.

It seems to be available on OpenBSD' grep

> -w      The expression is searched for as a word (as if surrounded by
>         ‘[[:<:]]’ and ‘[[:>:]]’; see re_format(7)).

it also seems to be available on NetBSD and FreeBSD judging from the
manpages.

don't know about other grep implementations and honestly haven't tested
the code (yet).


Cheers,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]