[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCHv2] maint.mk: improve sc_prohibit_strcmp regex
From: |
Eric Blake |
Subject: |
Re: [PATCHv2] maint.mk: improve sc_prohibit_strcmp regex |
Date: |
Thu, 06 Jan 2011 17:07:51 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7 |
On 01/06/2011 03:51 PM, Eric Blake wrote:
> The false negative is easy enough to avoid, by using:
>
> | grep -vE ':# *define STRN\?EQ\('
Arrgh. grep vs. grep -E. This should be STRN?EQ, not STRN\?EQ. (Why
oh why do we have to have BRE vs. ERE, and the tough time of remembering
the role of \ in each)?
--
Eric Blake address@hidden +1-801-349-2682
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature