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

Re: [PATCH/RFC] Use regex for :/ matching

From
Jeff King <peff@peff.net>
Date
Dec 6, 2007, 06:39 UTC
Message-ID
<20071206063945.GB18698@coredump.intra.peff.net>
In-Reply-To
<7vaboogwmq.fsf@gitster.siamese.dyndns.org>
On Wed, Dec 05, 2007 at 10:33:49PM -0800, Junio C Hamano wrote:
Show 5 quoted lines
> Making what was string match to regex using the same syntax is a
> regression, isn't it?  I do not use :/ very often myself, so I
> personally would not mind but people who are used to using :/ may get
> upset about the change.  I do not feel strongly enough for changing it
> to regex to declare such a change unilaterally.

Yes, it is a regression, which is why my initial patch was labeled RFC. Nobody commented on that aspect, so either they don't care, or (as you often seem to find out) they will just complain later. :)

I am fine with adding it with a new syntax, but that is going to take some thought, so perhaps it is better left to post-1.5.4.

-Peff
Previous: Junio C HamanoNext: Johannes Schindelin
Message 7 of 11 in “Use regex for :/ matching”
  1. Use regex for :/ matchingJeff King, Dec 3, 2007
  2. Johannes SchindelinDec 3, 2007
  3. Jeff KingDec 3, 2007
  4. Junio C HamanoDec 3, 2007
  5. Jeff KingDec 6, 2007
  6. Junio C HamanoDec 6, 2007
  7. Jeff KingDec 6, 2007
  8. Johannes SchindelinDec 6, 2007
  9. Allow ':/<oneline-prefix>' syntax to work with save_commit_buffer == 0Johannes Schindelin, Dec 3, 2007
  10. Junio C HamanoDec 3, 2007
  11. Johannes SchindelinDec 3, 2007

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.