For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > July 2007 > cvs: phpdoc /en/reference/pcre constants.xml









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: phpdoc /en/reference/pcre constants.xml
Nuno Lopes

2007-07-27, 8:00 am

nlopess Fri Jul 27 11:22:04 2007 UTC

Modified files:
/phpdoc/en/reference/pcre constants.xml
Log:
add <constant> tags
add the new PCRE_VERSION constant

http://cvs.php.net/viewvc.cgi/phpdo...3&diff_format=u
Index: phpdoc/en/reference/pcre/constants.xml
diff -u phpdoc/en/reference/pcre/constants.xml:1.12 phpdoc/en/reference/pcre/constants.xml:1.13
--- phpdoc/en/reference/pcre/constants.xml:1.12 Wed Jun 20 22:25:10 2007
+++ phpdoc/en/reference/pcre/constants.xml Fri Jul 27 11:22:04 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.12 $ -->
+<!-- $Revision: 1.13 $ -->
<section xml:id="pcre.constants" xmlns="http://docbook.org/ns/docbook">
&reftitle.constants;
&extension.constants;
@@ -14,7 +14,7 @@
</thead>
<tbody>
<row>
- <entry>PREG_PATTERN_ORDER</entry>
+ <entry><constant>PREG_PATTERN_ORDER</constant></entry>
<entry>
Orders results so that $matches[0] is an array of full pattern
matches, $matches[1] is an array of strings matched by the first
@@ -23,7 +23,7 @@
</entry>
</row>
<row>
- <entry>PREG_SET_ORDER</entry>
+ <entry><constant>PREG_SET_ORDER</constant></entry>
<entry>
Orders results so that $matches[0] is an array of first set of
matches, $matches[1] is an array of second set of matches, and so
@@ -31,7 +31,7 @@
</entry>
</row>
<row>
- <entry>PREG_OFFSET_CAPTURE</entry>
+ <entry><constant>PREG_OFFSET_CAPTURE</constant></entry>
<entry>
See the description of
<constant>PREG_SPLIT_OFFSET_CAPTURE</constant>. This flag is
@@ -39,14 +39,14 @@
</entry>
</row>
<row>
- <entry>PREG_SPLIT_NO_EMPTY</entry>
+ <entry><constant>PREG_SPLIT_NO_EMPTY</constant></entry>
<entry>
This flag tells <function>preg_split</function> to return only non-empty
pieces.
</entry>
</row>
<row>
- <entry>PREG_SPLIT_DELIM_CAPTURE</entry>
+ <entry><constant>PREG_SPLIT_DELIM_CAPTURE</constant></entry>
<entry>
This flag tells <function>preg_split</function> to capture
parenthesized expression in the delimiter pattern as well. This flag
@@ -54,7 +54,7 @@
</entry>
</row>
<row>
- <entry>PREG_SPLIT_OFFSET_CAPTURE</entry>
+ <entry><constant>PREG_SPLIT_OFFSET_CAPTURE</constant></entry>
<entry>
If this flag is set, for every occurring match the appendant string
offset will also be returned. Note that this changes the return
@@ -65,21 +65,21 @@
</entry>
</row>
<row>
- <entry>PREG_NO_ERROR</entry>
+ <entry><constant>PREG_NO_ERROR</constant></entry>
<entry>
Returned by <function>preg_last_error</function> if there were no
errors. Available since PHP 5.2.0.
</entry>
</row>
<row>
- <entry>PREG_INTERNAL_ERROR</entry>
+ <entry><constant>PREG_INTERNAL_ERROR</constant></entry>
<entry>
Returned by <function>preg_last_error</function> if there was an
internal PCRE error. Available since PHP 5.2.0.
</entry>
</row>
<row>
- <entry>PREG_BACKTRACK_LIMIT_ERROR</entry>
+ <entry><constant>PREG_BACKTRACK_LIMIT_ERROR</constant></entry>
<entry>
Returned by <function>preg_last_error</function> if <link
linkend="ini.pcre.backtrack-limit">backtrack limit</link> was exhausted.
@@ -87,7 +87,7 @@
</entry>
</row>
<row>
- <entry>PREG_RECURSION_LIMIT_ERROR</entry>
+ <entry><constant>PREG_RECURSION_LIMIT_ERROR</constant></entry>
<entry>
Returned by <function>preg_last_error</function> if <link
linkend="ini.pcre.recursion-limit">recursion limit</link> was exhausted.
@@ -95,7 +95,7 @@
</entry>
</row>
<row>
- <entry>PREG_BAD_UTF8_ERROR</entry>
+ <entry><constant>PREG_BAD_UTF8_ERROR</constant></entry>
<entry>
Returned by <function>preg_last_error</function> if the last error was
caused by malformed UTF-8 data (only when running a regex in <link
@@ -103,6 +103,13 @@
since PHP 5.2.0.
</entry>
</row>
+ <row>
+ <entry><constant>PCRE_VERSION</constant></entry>
+ <entry>
+ PCRE version and release date (e.g. "7.0 18-Dec-2006"). Available since
+ PHP 5.2.4.
+ </entry>
+ </row>
</tbody>
</tgroup>
</table>
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com