[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

grep branch, master, updated. v3.9-5-g373b443

From: Paul Eggert
Subject: grep branch, master, updated. v3.9-5-g373b443
Date: Sun, 19 Mar 2023 04:46:26 -0400 (EDT)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grep".

The branch, master has been updated
       via  373b4434ebc15f447ca6f96007ed6181c9a2a496 (commit)
      from  c83ffc197ec483c6f44f907346f34127ec044ef0 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------

commit 373b4434ebc15f447ca6f96007ed6181c9a2a496
Author: Paul Eggert <>
Date:   Sun Mar 19 01:45:53 2023 -0700

    doc: distinguish Perl from PCRE
    * doc/grep.texi: Mention that PCRE might not match Perl exactly.

diff --git a/doc/grep.texi b/doc/grep.texi
index eaad6e1..b17c4da 100644
--- a/doc/grep.texi
+++ b/doc/grep.texi
@@ -1156,6 +1156,12 @@ we expect to make that the default, so it will be 
 @c $ LC_ALL=en_US.UTF-8 ./pcre2grep -u '^\d+' <<< '٠١٢٣٤٥٦٧٨٩'
 @c ٠١٢٣٤٥٦٧٨٩
+Although PCRE tracks the syntax and semantics of Perl's regular
+expressions, the match is not always exact, partly because Perl
+evolves and a Perl installation may predate or postdate the PCRE2
+installation on the same host.
 By default, @command{grep} applies each regexp to a line at a time,
 so the @samp{(?s)} directive (making @samp{.} match line breaks)


Summary of changes:
 doc/grep.texi | 6 ++++++
 1 file changed, 6 insertions(+)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]