git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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."
Previous: Vadim ZeitlinNext: Vadim Zeitlin
Message 8 of 9 in “Avoid false positives in label detection in cpp diff hunk header regex.”
  1. Avoid false positives in label detection in cpp diff hunk header regex.Vadim Zeitlin, Mar 22, 2013
  2. Junio C HamanoMar 22, 2013
  3. Vadim ZeitlinMar 22, 2013
  4. Johannes SixtMar 22, 2013
  5. Junio C HamanoMar 22, 2013
  6. Johannes SixtMar 22, 2013
  7. Vadim ZeitlinMar 23, 2013
  8. Andreas SchwabMar 23, 2013
  9. Vadim ZeitlinMar 23, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.