fix markup

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@280176 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Yannick Torres 2009-05-08 21:30:58 +00:00
parent 25f6bb6821
commit 5847a9aee0
4 changed files with 50 additions and 51 deletions

View file

@ -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>

View file

@ -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>

View file

@ -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

View file

@ -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>