grep-commit
[Top][All Lists]
Advanced

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

grep branch, master, updated. v3.11-51-g19e301a


From: Paul Eggert
Subject: grep branch, master, updated. v3.11-51-g19e301a
Date: Mon, 16 Dec 2024 16:36:56 -0500 (EST)

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  19e301ad53931c8832789d283e2e5303fbf3452b (commit)
      from  421b2993e23b84f79d6590f43d5f5383a679ac9b (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 -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=19e301ad53931c8832789d283e2e5303fbf3452b


commit 19e301ad53931c8832789d283e2e5303fbf3452b
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Mon Dec 16 14:35:45 2024 -0700

    doc: give an example non-ASCII digit
    
    * doc/grep.texi: Give ‘٣’ as an example of a non-ASCII digit.

diff --git a/doc/grep.texi b/doc/grep.texi
index 367fd4b..cc6f26d 100644
--- a/doc/grep.texi
+++ b/doc/grep.texi
@@ -1180,10 +1180,16 @@ evolves and a Perl installation may predate or postdate 
the PCRE2
 installation on the same host, or their Unicode versions may differ,
 or Perl and PCRE2 may disagree about an obscure construct.
 
-For example, on UTF-8 data @samp{\d} ordinarily is like
-@samp{[[:digit:]]}, @samp{\p@{Nd@}}, and @samp{\p@{General_Category:
-Decimal_Number@}} and matches all decimal digits,
-whereas @samp{[0-9]} matches only ASCII digits.
+For example, on UTF-8 data @samp{[0-9]} matches only ASCII digits,
+whereas @samp{\d} ordinarily is like @samp{[[:digit:]]},
+@samp{\p@{Nd@}} and @samp{\p@{General_Category: Decimal_Number@}}
+and also matches non-ASCII digits like
+@c This does not display correctly in PDF with texinfo 7.1
+@c and pdfTeX 3.141592653-2.6-1.40.25 (TeX Live 2023/Fedora 40).
+@ifnottex
+``Ù£''
+@end ifnottex
+(U+0663 ARABIC-INDIC DIGIT THREE).
 You can change this by starting a regular expression with
 @samp{(?aD)}, which causes @samp{\d} to act like @samp{[0-9]}.
 However, @samp{(?aD)} and its inverse @samp{(?-aD)} are available only

-----------------------------------------------------------------------

Summary of changes:
 doc/grep.texi | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
grep



reply via email to

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