Re: [PATCH] Avoid false positives in label detection in cpp diff hunk header regex.
- From
Andreas Schwab <schwab@linux-m68k.org>
- Date
- Mar 23, 2013, 08:31 UTC
- Message-ID
- <m2y5de34bz.fsf@linux-m68k.org>
- In-Reply-To
- <loom.20130323T011153-345@post.gmane.org>
Vadim Zeitlin <vz-git@zeitlins.org> writes:
> "!^[ \t]*[A-Za-z_][A-Za-z_0-9]+[ \t]*:([^:]|$)\n"
That would fail to match single-character identifiers.
Andreas.
-- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."