[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#71252: why does grep match literal newlines when there are none, eve
From: |
Andreas Schwab |
Subject: |
bug#71252: why does grep match literal newlines when there are none, even with -z? |
Date: |
Sun, 09 Jun 2024 16:37:59 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
On Mai 30 2024, Philippe Cerfon wrote:
> Now GNU grep says "The empty regular expression matches the empty string.".
> Yet it still matches "foo" in the example above, which clearly is not empty.
It matches the empty string *anywhere* in the text. The match is not
anchored.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#71252: why does grep match literal newlines when there are none, even with -z?,
Andreas Schwab <=