bug-gnulib
[Top][All Lists]
Advanced

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

Re: Plain text matching with regex: RE_PLAIN


From: Eric Blake
Subject: Re: Plain text matching with regex: RE_PLAIN
Date: Tue, 14 Sep 2010 19:09:55 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100907 Fedora/3.1.3-1.fc13 Mnenhy/0.8.3 Thunderbird/3.1.3

On 09/14/2010 06:27 PM, Reuben Thomas wrote:
The attached patch adds a new syntax flag, RE_PLAIN.

Why can't you instead add \ escaping to all existing regex meta-characters that occur in the string, at which point you get the same effect without a new flag? And while the addition of a new flag may be worthwhile, I think that the divergence between glibc and gnulib is already too far; you need to get this approved in glibc before we go adding it to gnulib and hurt our chances of merging yet another difference between the two code bases.

--
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org



reply via email to

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