[Pcre-svn] [1198] code/trunk/doc: Documentation update.

Top Page
Delete this message
Author: Subversion repository
Date:  
To: pcre-svn
Subject: [Pcre-svn] [1198] code/trunk/doc: Documentation update.
Revision: 1198
          http://www.exim.org/viewvc/pcre2?view=rev&revision=1198
Author:   ph10
Date:     2019-12-28 14:09:09 +0000 (Sat, 28 Dec 2019)
Log Message:
-----------
Documentation update.


Modified Paths:
--------------
    code/trunk/doc/html/pcre2pattern.html
    code/trunk/doc/html/pcre2syntax.html
    code/trunk/doc/pcre2.txt
    code/trunk/doc/pcre2pattern.3
    code/trunk/doc/pcre2syntax.3


Modified: code/trunk/doc/html/pcre2pattern.html
===================================================================
--- code/trunk/doc/html/pcre2pattern.html    2019-12-28 13:53:59 UTC (rev 1197)
+++ code/trunk/doc/html/pcre2pattern.html    2019-12-28 14:09:09 UTC (rev 1198)
@@ -1907,6 +1907,7 @@
 3-letter abbreviation or as the full name, and in both cases you want to
 extract the abbreviation. This pattern (ignoring the line breaks) does the job:
 <pre>
+  (?J)
   (?&#60;DN&#62;Mon|Fri|Sun)(?:day)?|
   (?&#60;DN&#62;Tue)(?:sday)?|
   (?&#60;DN&#62;Wed)(?:nesday)?|
@@ -1927,7 +1928,7 @@
 reference. For example, this pattern matches both "foofoo" and "barbar" but not
 "foobar" or "barfoo":
 <pre>
-  (?:(?&#60;n&#62;foo)|(?&#60;n&#62;bar))\k&#60;n&#62;
+  (?J)(?:(?&#60;n&#62;foo)|(?&#60;n&#62;bar))\k&#60;n&#62;


</PRE>
</P>

Modified: code/trunk/doc/html/pcre2syntax.html
===================================================================
--- code/trunk/doc/html/pcre2syntax.html    2019-12-28 13:53:59 UTC (rev 1197)
+++ code/trunk/doc/html/pcre2syntax.html    2019-12-28 14:09:09 UTC (rev 1198)
@@ -467,7 +467,7 @@
 of the group.
 <pre>
   (?i)            caseless
-  (?J)            allow duplicate names
+  (?J)            allow duplicate named groups
   (?m)            multiline
   (?n)            no auto capture
   (?s)            single line (dotall)


Modified: code/trunk/doc/pcre2.txt
===================================================================
--- code/trunk/doc/pcre2.txt    2019-12-28 13:53:59 UTC (rev 1197)
+++ code/trunk/doc/pcre2.txt    2019-12-28 14:09:09 UTC (rev 1198)
@@ -7678,6 +7678,7 @@
        and in both cases you want to extract the  abbreviation.  This  pattern
        (ignoring the line breaks) does the job:


+         (?J)
          (?<DN>Mon|Fri|Sun)(?:day)?|
          (?<DN>Tue)(?:sday)?|
          (?<DN>Wed)(?:nesday)?|
@@ -7697,7 +7698,7 @@
        is  set  is  used  for the reference. For example, this pattern matches
        both "foofoo" and "barbar" but not "foobar" or "barfoo":


-         (?:(?<n>foo)|(?<n>bar))\k<n>
+         (?J)(?:(?<n>foo)|(?<n>bar))\k<n>



        If you make a subroutine call to a non-unique named group, the one that
@@ -10629,7 +10630,7 @@
        the end of the group.


          (?i)            caseless
-         (?J)            allow duplicate names
+         (?J)            allow duplicate named groups
          (?m)            multiline
          (?n)            no auto capture
          (?s)            single line (dotall)


Modified: code/trunk/doc/pcre2pattern.3
===================================================================
--- code/trunk/doc/pcre2pattern.3    2019-12-28 13:53:59 UTC (rev 1197)
+++ code/trunk/doc/pcre2pattern.3    2019-12-28 14:09:09 UTC (rev 1198)
@@ -1907,6 +1907,7 @@
 3-letter abbreviation or as the full name, and in both cases you want to
 extract the abbreviation. This pattern (ignoring the line breaks) does the job:
 .sp
+  (?J)
   (?<DN>Mon|Fri|Sun)(?:day)?|
   (?<DN>Tue)(?:sday)?|
   (?<DN>Wed)(?:nesday)?|
@@ -1926,7 +1927,7 @@
 reference. For example, this pattern matches both "foofoo" and "barbar" but not
 "foobar" or "barfoo":
 .sp
-  (?:(?<n>foo)|(?<n>bar))\ek<n>
+  (?J)(?:(?<n>foo)|(?<n>bar))\ek<n>
 .sp
 .P
 If you make a subroutine call to a non-unique named group, the one that


Modified: code/trunk/doc/pcre2syntax.3
===================================================================
--- code/trunk/doc/pcre2syntax.3    2019-12-28 13:53:59 UTC (rev 1197)
+++ code/trunk/doc/pcre2syntax.3    2019-12-28 14:09:09 UTC (rev 1198)
@@ -441,7 +441,7 @@
 of the group.
 .sp
   (?i)            caseless
-  (?J)            allow duplicate names
+  (?J)            allow duplicate named groups
   (?m)            multiline
   (?n)            no auto capture
   (?s)            single line (dotall)