bug-grep
[Top][All Lists]
Advanced

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

Re: [PATCH v2] dfa: optimize UTF-8 period


From: Paolo Bonzini
Subject: Re: [PATCH v2] dfa: optimize UTF-8 period
Date: Tue, 20 Apr 2010 12:39:25 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100301 Fedora/3.0.3-1.fc12 Lightning/1.0b2pre Thunderbird/3.0.3

On 04/20/2010 12:06 PM, Jim Meyering wrote:
Good catch, Eric.
Note that GNU grep for "." appears always to have matched NUL
and that Solaris-10's does not.

Indeed the relevant syntax bit is not set in RE_SYNTAX_GREP and RE_SYNTAX_POSIX_EGREP. Maybe that should be conditionalized on POSIXLY_CORRECT.

I'll rebootstrap (getting rid of the newlib change) and apply Jim's patch. If anybody wants to beat me on the POSIXLY_CORRECT patch, please go ahead.

Paolo




reply via email to

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