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

Re: git grep -E doesn't accept \b word boundaries?

From
Junio C Hamano <gitster@pobox.com>
Date
May 3, 2023, 20:45 UTC
Message-ID
<xmqqr0rxp2jl.fsf@gitster.g>
In-Reply-To
<CAJXgQP2Rvye6U64_Nv9a0VbTJF=WsT741J42gfQmP9vz74u0ww@mail.gmail.com>
Kevin Ushey <kevinushey@gmail.com> writes:
> Thanks for the quick response! I wonder if this issue could be macOS-specific?

Ah, yes, I somehow thought you mentioned Ubuntu and totally blocked that macOS issue out of my mind, but I do recall that it has been reported that build with macOS native regexp library is broken a few times recently on this list.

    https://lore.kernel.org/git/?q=macOS+regexp

finds this thread, which unfortunately was mistitled to make them sound as if they were about "-P", but the issue in the thread was about extended regexp.

  https://lore.kernel.org/git/03fd7ddb-8241-1a0a-3e82-d8083e4ce0f7@web.de/
Previous: Kevin Ushey
Message 4 of 4 in “git grep -E doesn't accept \b word boundaries?”
  1. Kevin UsheyMay 3, 2023
  2. Junio C HamanoMay 3, 2023
  3. Kevin UsheyMay 3, 2023
  4. Junio C HamanoMay 3, 2023

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.