[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changes to grep/manual/html_node/grep-Programs.html,v
From: |
Jim Meyering |
Subject: |
Changes to grep/manual/html_node/grep-Programs.html,v |
Date: |
Sat, 13 May 2023 05:23:55 -0400 (EDT) |
CVSROOT: /webcvs/grep
Module name: grep
Changes by: Jim Meyering <meyering> 23/05/13 05:23:53
Index: html_node/grep-Programs.html
===================================================================
RCS file: /webcvs/grep/grep/manual/html_node/grep-Programs.html,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -b -r1.34 -r1.35
--- html_node/grep-Programs.html 23 Mar 2023 02:55:21 -0000 1.34
+++ html_node/grep-Programs.html 13 May 2023 09:23:53 -0000 1.35
@@ -14,10 +14,10 @@
Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
Texts. A copy of the license is included in the section entitled
"GNU Free Documentation License". -->
-<title>grep Programs (GNU Grep 3.10)</title>
+<title>grep Programs (GNU Grep 3.11)</title>
-<meta name="description" content="grep Programs (GNU Grep 3.10)">
-<meta name="keywords" content="grep Programs (GNU Grep 3.10)">
+<meta name="description" content="grep Programs (GNU Grep 3.11)">
+<meta name="keywords" content="grep Programs (GNU Grep 3.11)">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="makeinfo">
@@ -106,17 +106,14 @@
<li>‘<samp class="samp">\d</samp>’ matches only the ten ASCII
digits
(and ‘<samp class="samp">\D</samp>’ matches the complement),
regardless of locale.
Use ‘<samp class="samp">\p{Nd}</samp>’ to also match non-ASCII
digits.
+(The behavior of ‘<samp class="samp">\d</samp>’ and ‘<samp
class="samp">\D</samp>’ is unspecified after
+in-regexp directives like ‘<samp class="samp">(?aD)</samp>’.)
-<p>When <code class="command">grep</code> is built with PCRE2 10.42 and
earlier,
-‘<samp class="samp">\d</samp>’ and ‘<samp
class="samp">\D</samp>’ ignore in-regexp directives like ‘<samp
class="samp">(?aD)</samp>’
-and work like ‘<samp class="samp">[0-9]</samp>’ and ‘<samp
class="samp">[^0-9]</samp>’ respectively.
-However, later versions of PCRE2 likely will fix this,
-and the plan is for <code class="command">grep</code> to respect those
directives if possible.
-</p>
</li><li>Although PCRE tracks the syntax and semantics of Perl’s regular
-expressions, the match is not always exact, partly because Perl
+expressions, the match is not always exact. For example, Perl
evolves and a Perl installation may predate or postdate the PCRE2
-installation on the same host.
+installation on the same host, or their Unicode versions may differ,
+or Perl and PCRE2 may disagree about an obscure construct.
</li><li>By default, <code class="command">grep</code> applies each regexp to
a line at a time,
so the ‘<samp class="samp">(?s)</samp>’ directive (making
‘<samp class="samp">.</samp>’ match line breaks)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Changes to grep/manual/html_node/grep-Programs.html,v,
Jim Meyering <=