cvs: phpdoc /en/reference/pcre book.xml constants.xml examples.xml pattern.xml reference.xml setup.xml

From: Date: Sun, 23 Dec 2007 04:06:52 +0000
Subject: cvs: phpdoc /en/reference/pcre book.xml constants.xml examples.xml pattern.xml reference.xml setup.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-741@lists.php.net to get a copy of this message
philip Sun Dec 23 04:06:52 2007 UTC Modified files: /phpdoc/en/reference/pcre book.xml setup.xml examples.xml pattern.xml reference.xml constants.xml Log: MFB: Upgrade to the new-reference-structure - Split reference.xml into book.xml, setup.xml, pattern.xml, and examples.xml - Moved from reference.xml to book.xml: - The intro text (partintro), and link to various pages - Moved from reference.xml to setup.xml: - The requirements, installation, configuration, and resources - Changed the constants section to be an <appendix> - Changed pattern.modifiers.xml from refentry to article - Changed pattern.syntax.xml from refentry to article - Changed refsect1 and refsect2 to sections within the new articles - Changed the intro ID from <extname>.intro to intro.<extname>

http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pcre/book.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/pcre/book.xml diff -u /dev/null phpdoc/en/reference/pcre/book.xml:1.2 --- /dev/null Sun Dec 23 04:06:52 2007 +++ phpdoc/en/reference/pcre/book.xml Sun Dec 23 04:06:52 2007 @@ -0,0 +1,75 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.2 $ --> +<!-- Purpose: basic.text --> +<!-- Membership: bundled --> + +<book xml:id="book.pcre" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + <title>Regular Expression Functions (Perl-Compatible)</title> + <titleabbrev>PCRE</titleabbrev> + + <preface xml:id="intro.pcre"> + &reftitle.intro; + <para> + The syntax for patterns used in these functions closely resembles + Perl. The expression should be enclosed in the delimiters, a + forward slash (/), for example. Any character can be used for + delimiter as long as it's not alphanumeric or backslash (\). If + the delimiter character has to be used in the expression itself, + it needs to be escaped by backslash. Since PHP 4.0.4, you can also use + Perl-style (), {}, [], and &lt;&gt; matching delimiters. + See <link linkend="reference.pcre.pattern.syntax">Pattern Syntax</link> + for detailed explanation. + </para> + <para> + The ending delimiter may be followed by various modifiers that + affect the matching. + See <link linkend="reference.pcre.pattern.modifiers">Pattern + Modifiers</link>. + </para> + <para> + PHP also supports regular expressions using a POSIX-extended syntax + using the <link linkend="book.regex">POSIX-extended regex functions</link>. + </para> + <note> + <para> + This extension maintains a global per-thread cache of compiled regular + expressions (up to 4096). + </para> + </note> + <warning> + <para> + You should be aware of some limitations of PCRE. Read <link + xlink:href="&url.pcre.man;">&url.pcre.man;</link> for more info. + </para> + </warning> + </preface> + + &reference.pcre.setup; + &reference.pcre.constants; + &reference.pcre.examples; + &reference.pcre.pattern; + &reference.pcre.reference; + +</book> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> + http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pcre/setup.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/pcre/setup.xml diff -u /dev/null phpdoc/en/reference/pcre/setup.xml:1.2 --- /dev/null Sun Dec 23 04:06:52 2007 +++ phpdoc/en/reference/pcre/setup.xml Sun Dec 23 04:06:52 2007 @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.2 $ --> +<chapter xml:id="pcre.setup"> + &reftitle.setup; + + <section xml:id="pcre.requirements"> + &reftitle.required; + &no.requirement; + </section> + + &reference.pcre.configure; + + &reference.pcre.ini; + + <section xml:id="pcre.resources"> + &reftitle.resources; + &no.resource; + </section> + +</chapter> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> + http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pcre/examples.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/pcre/examples.xml diff -u /dev/null phpdoc/en/reference/pcre/examples.xml:1.2 --- /dev/null Sun Dec 23 04:06:52 2007 +++ phpdoc/en/reference/pcre/examples.xml Sun Dec 23 04:06:52 2007 @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.2 $ --> +<appendix xml:id="pcre.examples"> + &reftitle.examples; + <para> + <example> + <title>Examples of valid patterns</title> + <itemizedlist> + <listitem><simpara><literal>/&lt;\/\w+&gt;/</literal></simpara></listitem> + <listitem><simpara><literal>|(\d{3})-\d+|Sm</literal></simpara></listitem> + <listitem><simpara><literal>/^(?i)php[34]/</literal></simpara></listitem> + <listitem><simpara><literal>{^\s+(\s+)?$}</literal></simpara></listitem> + </itemizedlist> + </example> + </para> + <para> + <example> + <title>Examples of invalid patterns</title> + <itemizedlist> + <listitem> + <simpara> + <literal>/href='(.*)'</literal> - missing ending delimiter + </simpara> + </listitem> + <listitem> + <simpara> + <literal>/\w+\s*\w+/J</literal> - unknown modifier 'J' + </simpara> + </listitem> + <listitem> + <simpara> + <literal>1-\d3-\d3-\d4|</literal> - missing starting delimiter + </simpara> + </listitem> + </itemizedlist> + </example> + </para> +</appendix> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> + http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pcre/pattern.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/pcre/pattern.xml diff -u /dev/null phpdoc/en/reference/pcre/pattern.xml:1.2 --- /dev/null Sun Dec 23 04:06:52 2007 +++ phpdoc/en/reference/pcre/pattern.xml Sun Dec 23 04:06:52 2007 @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- $Revision: 1.2 $ --> + +<part xml:id="pcre.pattern"> + <title>PCRE Patterns</title> + + &reference.pcre.pattern.modifiers; + &reference.pcre.pattern.syntax; + +</part> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> + http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pcre/reference.xml?r1=1.19&r2=1.20&diff_format=u Index: phpdoc/en/reference/pcre/reference.xml diff -u phpdoc/en/reference/pcre/reference.xml:1.19 phpdoc/en/reference/pcre/reference.xml:1.20 --- phpdoc/en/reference/pcre/reference.xml:1.19 Mon Dec 10 17:06:07 2007 +++ phpdoc/en/reference/pcre/reference.xml Sun Dec 23 04:06:52 2007 @@ -1,106 +1,10 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.19 $ --> -<!-- Purpose: basic.text --> -<!-- Membership: bundled --> +<!-- $Revision: 1.20 $ --> <reference xml:id="ref.pcre" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - <title>Regular Expression Functions (Perl-Compatible)</title> - <titleabbrev>PCRE</titleabbrev> + <title>PCRE &Functions;</title> - <partintro> - <section xml:id="pcre.intro"> - &reftitle.intro; - <para> - The syntax for patterns used in these functions closely resembles - Perl. The expression should be enclosed in the delimiters, a - forward slash (/), for example. Any character can be used for - delimiter as long as it's not alphanumeric or backslash (\). If - the delimiter character has to be used in the expression itself, - it needs to be escaped by backslash. Since PHP 4.0.4, you can also use - Perl-style (), {}, [], and &lt;&gt; matching delimiters. - See <link linkend="reference.pcre.pattern.syntax">Pattern Syntax</link> - for detailed explanation. - </para> - <para> - The ending delimiter may be followed by various modifiers that - affect the matching. - See <link linkend="reference.pcre.pattern.modifiers">Pattern - Modifiers</link>. - </para> - <para> - PHP also supports regular expressions using a POSIX-extended syntax - using the <link linkend="ref.regex">POSIX-extended regex functions</link>. - </para> - <note> - <para> - This extension maintains a global per-thread cache of compiled regular - expressions (up to 4096). - </para> - </note> - <warning> - <para> - You should be aware of some limitations of PCRE. Read <link - xlink:href="&url.pcre.man;">&url.pcre.man;</link> for more info. - </para> - </warning> - </section> - - <section xml:id="pcre.requirements"> - &reftitle.required; - &no.requirement; - </section> - - &reference.pcre.configure; - &reference.pcre.ini; - - <section xml:id="pcre.resources"> - &reftitle.resources; - &no.resource; - </section> - - &reference.pcre.constants; - - <section xml:id="pcre.examples"> - &reftitle.examples; - <para> - <example> - <title>Examples of valid patterns</title> - <itemizedlist> - <listitem><simpara><literal>/&lt;\/\w+&gt;/</literal></simpara></listitem> - <listitem><simpara><literal>|(\d{3})-\d+|Sm</literal></simpara></listitem> - <listitem><simpara><literal>/^(?i)php[34]/</literal></simpara></listitem> - <listitem><simpara><literal>{^\s+(\s+)?$}</literal></simpara></listitem> - </itemizedlist> - </example> - </para> - <para> - <example> - <title>Examples of invalid patterns</title> - <itemizedlist> - <listitem> - <simpara> - <literal>/href='(.*)'</literal> - missing ending delimiter - </simpara> - </listitem> - <listitem> - <simpara> - <literal>/\w+\s*\w+/J</literal> - unknown modifier 'J' - </simpara> - </listitem> - <listitem> - <simpara> - <literal>1-\d3-\d3-\d4|</literal> - missing starting delimiter - </simpara> - </listitem> - </itemizedlist> - </example> - </para> - </section> - </partintro> - -&reference.pcre.pattern.modifiers; -&reference.pcre.pattern.syntax; -&reference.pcre.entities.functions; + &reference.pcre.entities.functions; </reference> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pcre/constants.xml?r1=1.13&r2=1.14&diff_format=u Index: phpdoc/en/reference/pcre/constants.xml diff -u phpdoc/en/reference/pcre/constants.xml:1.13 phpdoc/en/reference/pcre/constants.xml:1.14 --- phpdoc/en/reference/pcre/constants.xml:1.13 Fri Jul 27 11:22:04 2007 +++ phpdoc/en/reference/pcre/constants.xml Sun Dec 23 04:06:52 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.13 $ --> -<section xml:id="pcre.constants" xmlns="http://docbook.org/ns/docbook"> +<!-- $Revision: 1.14 $ --> +<appendix xml:id="pcre.constants" xmlns="http://docbook.org/ns/docbook"> &reftitle.constants; &extension.constants; <table> @@ -113,7 +113,7 @@ </tbody> </tgroup> </table> -</section> +</appendix> <!-- Keep this comment at the end of the file Local variables:
« previous php.doc.cvs (#741) next »