php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #50103
Patch add-script-support revision 2010-05-21 13:51 UTC by pete_cags at hotmail dot com

Patch add-script-support for Documentation problem Bug #50103

Patch version 2010-05-21 13:51 UTC

Return to Bug #50103 | Download this patch
Patch Revisions:

Developer: pete_cags@hotmail.com

Index: pattern.syntax.xml
===================================================================
--- pattern.syntax.xml	(revision 299522)
+++ pattern.syntax.xml	(working copy)
@@ -25,6 +25,13 @@
    matches a portion of a subject string that is  identical  to
    itself.  
   </para>
+  <note>
+   <para>
+    The exact syntax available is dependent on what version of the PCRE library 
+    is being used, check the <link linkend="pcre.installation">installation</link> 
+    section for more details.
+   </para>
+  </note>
  </section>
  <section xml:id="regexp.reference.delimiters">
   <title>Delimiters</title>
@@ -843,8 +850,14 @@
    </tgroup>
   </table>
   <para>
-   Extended properties such as "Greek" or "InMusicalSymbols" are not
-   supported by PCRE.
+   Extended properties such as "InMusicalSymbols" are not currently supported, 
+   however since PCRE 6.5, PCRE has supported extended properties for script 
+   names such as <literal>Greek</literal> and <literal>Han</literal>. A full 
+   list of supported script names can be found in the 
+   <link xlink:href="&url.pcre.man;">PCRE manual</link>. Characters not part of 
+   any named script are lumped together into a special script called 
+   <literal>Common</literal>. <literal>Any</literal> matches against 
+   <emphasis>any</emphasis> character (including newline).   
   </para>
   <para>
    Specifying case-insensitive (caseless) matching does not affect these escape sequences.
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sun Aug 09 00:01:03 2020 UTC