cvs: phpdoc /en/reference/curl configure.xml /en/reference/pcre constants.xml pattern.modifiers.xml pattern.syntax.xml

From: Date: Fri, 08 May 2009 21:30:58 +0000
Subject: cvs: phpdoc /en/reference/curl configure.xml /en/reference/pcre constants.xml pattern.modifiers.xml pattern.syntax.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-3991@lists.php.net to get a copy of this message
yannick Fri May 8 21:30:58 2009 UTC Modified files: /phpdoc/en/reference/pcre pattern.syntax.xml constants.xml pattern.modifiers.xml /phpdoc/en/reference/curl configure.xml Log: fix markup

http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pcre/pattern.syntax.xml?r1=1.25&r2=1.26&diff_format=u Index: phpdoc/en/reference/pcre/pattern.syntax.xml diff -u phpdoc/en/reference/pcre/pattern.syntax.xml:1.25 phpdoc/en/reference/pcre/pattern.syntax.xml:1.26 --- phpdoc/en/reference/pcre/pattern.syntax.xml:1.25 Fri Mar 13 16:05:09 2009 +++ phpdoc/en/reference/pcre/pattern.syntax.xml Fri May 8 21:30:58 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.25 $ --> +<!-- $Revision: 1.26 $ --> <!-- splitted from ./en/functions/pcre.xml, last change in rev 1.2 --> <chapter xml:id="reference.pcre.pattern.syntax" xmlns="http://docbook.org/ns/docbook"> <title>Pattern Syntax</title> @@ -243,8 +243,7 @@ and any following digits as a decimal number. If the number is less than 10, or if there have been at least that many previous capturing left parentheses in the expression, the - entire sequence is taken as a <emphasis>back</emphasis> - <emphasis>reference</emphasis>. A description + entire sequence is taken as a <emphasis>back reference</emphasis>. A description of how this works is given later, following the discussion of parenthesized subpatterns. </para> @@ -384,7 +383,7 @@ <para> A "word" character is any letter or digit or the underscore character, that is, any character which can be part of a - Perl "<literal>word</literal>". The definition of letters and digits is + Perl "<emphasis>word</emphasis>". The definition of letters and digits is controlled by PCRE's character tables, and may vary if locale-specific matching is taking place. For example, in the "fr" (French) locale, some character codes greater than 128 are used for accented letters, @@ -607,29 +606,29 @@ <title>Circumflex and dollar</title> <para> Outside a character class, in the default matching mode, the - circumflex character is an assertion which is true only if - the current matching point is at the start of the subject - string. Inside a character class, circumflex has an entirely - different meaning (see below). + circumflex character (<literal>^</literal>) is an assertion which + is true only if the current matching point is at the start of + the subject string. Inside a character class, circumflex (<literal>^</literal>) + has an entirely different meaning (see below). </para> <para> - Circumflex need not be the first character of the pattern if - a number of alternatives are involved, but it should be the - first thing in each alternative in which it appears if the - pattern is ever to match that branch. If all possible - alternatives start with a circumflex, that is, if the pattern is - constrained to match only at the start of the subject, it is - said to be an "anchored" pattern. (There are also other + Circumflex (<literal>^</literal>) need not be the first character + of the pattern if a number of alternatives are involved, but it + should be the first thing in each alternative in which it appears + if the pattern is ever to match that branch. If all possible + alternatives start with a circumflex (<literal>^</literal>), that is, + if the pattern is constrained to match only at the start of the subject, + it is said to be an "anchored" pattern. (There are also other constructs that can cause a pattern to be anchored.) </para> <para> - A dollar character is an assertion which is &true; only if the - current matching point is at the end of the subject string, - or immediately before a newline character that is the last - character in the string (by default). Dollar need not be the - last character of the pattern if a number of alternatives - are involved, but it should be the last item in any branch - in which it appears. Dollar has no special meaning in a + A dollar character (<literal>$</literal>) is an assertion which is + &true; only if the current matching point is at the end of the subject + string, or immediately before a newline character that is the last + character in the string (by default). Dollar (<literal>$</literal>) + need not be the last character of the pattern if a number of + alternatives are involved, but it should be the last item in any branch + in which it appears. Dollar has no special meaning in a character class. </para> <para> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pcre/constants.xml?r1=1.15&r2=1.16&diff_format=u Index: phpdoc/en/reference/pcre/constants.xml diff -u phpdoc/en/reference/pcre/constants.xml:1.15 phpdoc/en/reference/pcre/constants.xml:1.16 --- phpdoc/en/reference/pcre/constants.xml:1.15 Sat Mar 22 16:15:33 2008 +++ phpdoc/en/reference/pcre/constants.xml Fri May 8 21:30:58 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.15 $ --> +<!-- $Revision: 1.16 $ --> <appendix xml:id="pcre.constants" xmlns="http://docbook.org/ns/docbook"> &reftitle.constants; &extension.constants; @@ -16,8 +16,8 @@ <row> <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 + Orders results so that <varname>$matches[0]</varname> is an array of full pattern + matches, <varname>$matches[1]</varname> is an array of strings matched by the first parenthesized subpattern, and so on. This flag is only used with <function>preg_match_all</function>. </entry> @@ -25,8 +25,8 @@ <row> <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 + Orders results so that <varname>$matches[0]</varname> is an array of first set of + matches, <varname>$matches[1]</varname> is an array of second set of matches, and so on. This flag is only used with <function>preg_match_all</function>. </entry> </row> @@ -115,8 +115,8 @@ <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. + PCRE version and release date (e.g. "<literal>"7.0 18-Dec-2006"</literal>"). + Available since PHP 5.2.4. </entry> </row> </tbody> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pcre/pattern.modifiers.xml?r1=1.16&r2=1.17&diff_format=u Index: phpdoc/en/reference/pcre/pattern.modifiers.xml diff -u phpdoc/en/reference/pcre/pattern.modifiers.xml:1.16 phpdoc/en/reference/pcre/pattern.modifiers.xml:1.17 --- phpdoc/en/reference/pcre/pattern.modifiers.xml:1.16 Sat Dec 6 10:39:23 2008 +++ phpdoc/en/reference/pcre/pattern.modifiers.xml Fri May 8 21:30:58 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.16 $ --> +<!-- $Revision: 1.17 $ --> <!-- splitted from ./en/functions/pcre.xml, last change in rev 1.2 --> <article xml:id="reference.pcre.pattern.modifiers" xmlns="http://docbook.org/ns/docbook"> <title>Pattern Modifiers</title> @@ -13,7 +13,7 @@ <blockquote> <variablelist> <varlistentry> - <term><emphasis>i</emphasis> (PCRE_CASELESS)</term> + <term><emphasis>i</emphasis> (<literal>PCRE_CASELESS</literal>)</term> <listitem> <simpara> If this modifier is set, letters in the pattern match both @@ -22,7 +22,7 @@ </listitem> </varlistentry> <varlistentry> - <term><emphasis>m</emphasis> (PCRE_MULTILINE)</term> + <term><emphasis>m</emphasis> (<literal>PCRE_MULTILINE</literal>)</term> <listitem> <simpara> By default, PCRE treats the subject string as consisting of a @@ -46,7 +46,7 @@ </listitem> </varlistentry> <varlistentry> - <term><emphasis>s</emphasis> (PCRE_DOTALL)</term> + <term><emphasis>s</emphasis> (<literal>PCRE_DOTALL</literal>)</term> <listitem> <simpara> If this modifier is set, a dot metacharacter in the pattern @@ -59,7 +59,7 @@ </listitem> </varlistentry> <varlistentry> - <term><emphasis>x</emphasis> (PCRE_EXTENDED)</term> + <term><emphasis>x</emphasis> (<literal>PCRE_EXTENDED</literal>)</term> <listitem> <simpara> If this modifier is set, whitespace data characters in the @@ -77,14 +77,14 @@ </listitem> </varlistentry> <varlistentry> - <term><emphasis>e</emphasis> (PREG_REPLACE_EVAL)</term> + <term><emphasis>e</emphasis> (<literal>PREG_REPLACE_EVAL</literal>)</term> <listitem> <simpara> If this modifier is set, <function>preg_replace</function> does normal substitution of backreferences in the replacement string, evaluates it as PHP code, and uses the result for replacing the search string. - Single quotes, double quotes, backslashes and NULL chars will + Single quotes, double quotes, backslashes (<literal>\</literal>) and NULL chars will be escaped by backslashes in substituted backreferences. </simpara> <para> @@ -94,7 +94,7 @@ </listitem> </varlistentry> <varlistentry> - <term><emphasis>A</emphasis> (PCRE_ANCHORED)</term> + <term><emphasis>A</emphasis> (<literal>PCRE_ANCHORED</literal>)</term> <listitem> <simpara> If this modifier is set, the pattern is forced to be @@ -107,7 +107,7 @@ </listitem> </varlistentry> <varlistentry> - <term><emphasis>D</emphasis> (PCRE_DOLLAR_ENDONLY)</term> + <term><emphasis>D</emphasis> (<literal>PCRE_DOLLAR_ENDONLY</literal>)</term> <listitem> <simpara> If this modifier is set, a dollar metacharacter in the pattern @@ -134,13 +134,13 @@ </listitem> </varlistentry> <varlistentry> - <term><emphasis>U</emphasis> (PCRE_UNGREEDY)</term> + <term><emphasis>U</emphasis> (<literal>PCRE_UNGREEDY</literal>)</term> <listitem> <simpara> This modifier inverts the "greediness" of the quantifiers so that they are not greedy by default, but become greedy if - followed by "?". It is not compatible with Perl. It can also - be set by a (?U) + followed by <literal>?</literal>. It is not compatible with Perl. It can also + be set by a (<literal>?U</literal>) <link linkend="regexp.reference.internal-options">modifier setting within the pattern</link> or by a question mark behind a quantifier (e.g. <literal>.*?</literal>). @@ -148,7 +148,7 @@ </listitem> </varlistentry> <varlistentry> - <term><emphasis>X</emphasis> (PCRE_EXTRA)</term> + <term><emphasis>X</emphasis> (<literal>PCRE_EXTRA</literal>)</term> <listitem> <simpara> This modifier turns on additional functionality of PCRE that @@ -163,16 +163,16 @@ </listitem> </varlistentry> <varlistentry> - <term><emphasis>J</emphasis> (PCRE_INFO_JCHANGED)</term> + <term><emphasis>J</emphasis> (<literal>PCRE_INFO_JCHANGED</literal>)</term> <listitem> <simpara> - The (?J) internal option setting changes the local PCRE_DUPNAMES option. - Allow duplicate names for subpatterns. + The (?J) internal option setting changes the local <literal>PCRE_DUPNAMES</literal> + option. Allow duplicate names for subpatterns. </simpara> </listitem> </varlistentry> <varlistentry> - <term><emphasis>u</emphasis> (PCRE_UTF8)</term> + <term><emphasis>u</emphasis> (<literal>PCRE8</literal>)</term> <listitem> <simpara> This modifier turns on additional functionality of PCRE that http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/curl/configure.xml?r1=1.10&r2=1.11&diff_format=u Index: phpdoc/en/reference/curl/configure.xml diff -u phpdoc/en/reference/curl/configure.xml:1.10 phpdoc/en/reference/curl/configure.xml:1.11 --- phpdoc/en/reference/curl/configure.xml:1.10 Wed Jun 20 22:24:17 2007 +++ phpdoc/en/reference/curl/configure.xml Fri May 8 21:30:58 2009 @@ -1,15 +1,15 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> +<!-- $Revision: 1.11 $ --> <section xml:id="curl.installation" xmlns="http://docbook.org/ns/docbook"> &reftitle.install; <para> To use PHP's cURL support you must also compile PHP <option role="configure">--with-curl[=DIR]</option> where DIR is the - location of the directory containing the lib and include - directories. In the "include" directory there should be a folder - named "curl" which should contain the <filename>easy.h</filename> and + location of the directory containing the <filename>lib</filename> and <filename>include</filename> + directories. In the <filename>include</filename> directory there should be a folder + named <filename>curl</filename> which should contain the <filename>easy.h</filename> and <filename>curl.h</filename> files. There should be a file named - <filename>libcurl.a</filename> located in the "lib" directory. Beginning + <filename>libcurl.a</filename> located in the <filename>lib</filename> directory. Beginning with PHP 4.3.0 you can configure PHP to use cURL for URL streams <option role="configure">--with-curlwrappers</option>. </para>
« previous php.doc.cvs (#3991) next »