From 5847a9aee08ed83176490ed823e7382d6b174bfa Mon Sep 17 00:00:00 2001 From: Yannick Torres Date: Fri, 8 May 2009 21:30:58 +0000 Subject: [PATCH] fix markup git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@280176 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/curl/configure.xml | 10 +++---- reference/pcre/constants.xml | 14 ++++----- reference/pcre/pattern.modifiers.xml | 34 +++++++++++----------- reference/pcre/pattern.syntax.xml | 43 ++++++++++++++-------------- 4 files changed, 50 insertions(+), 51 deletions(-) diff --git a/reference/curl/configure.xml b/reference/curl/configure.xml index d9af175df8..4c276ce6ad 100644 --- a/reference/curl/configure.xml +++ b/reference/curl/configure.xml @@ -1,15 +1,15 @@ - +
&reftitle.install; To use PHP's cURL support you must also compile PHP 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 easy.h and + 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 easy.h and curl.h files. There should be a file named - libcurl.a located in the "lib" directory. Beginning + libcurl.a located in the lib directory. Beginning with PHP 4.3.0 you can configure PHP to use cURL for URL streams . diff --git a/reference/pcre/constants.xml b/reference/pcre/constants.xml index a97a672004..aca3142864 100644 --- a/reference/pcre/constants.xml +++ b/reference/pcre/constants.xml @@ -1,5 +1,5 @@ - + &reftitle.constants; &extension.constants; @@ -16,8 +16,8 @@ PREG_PATTERN_ORDER - 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 $matches[0] is an array of full pattern + matches, $matches[1] is an array of strings matched by the first parenthesized subpattern, and so on. This flag is only used with preg_match_all. @@ -25,8 +25,8 @@ PREG_SET_ORDER - 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 $matches[0] is an array of first set of + matches, $matches[1] is an array of second set of matches, and so on. This flag is only used with preg_match_all. @@ -115,8 +115,8 @@ PCRE_VERSION - 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. ""7.0 18-Dec-2006""). + Available since PHP 5.2.4. diff --git a/reference/pcre/pattern.modifiers.xml b/reference/pcre/pattern.modifiers.xml index 9837fe917f..d8264bf7c8 100644 --- a/reference/pcre/pattern.modifiers.xml +++ b/reference/pcre/pattern.modifiers.xml @@ -1,5 +1,5 @@ - +
Pattern Modifiers @@ -13,7 +13,7 @@
- i (PCRE_CASELESS) + i (PCRE_CASELESS) If this modifier is set, letters in the pattern match both @@ -22,7 +22,7 @@ - m (PCRE_MULTILINE) + m (PCRE_MULTILINE) By default, PCRE treats the subject string as consisting of a @@ -46,7 +46,7 @@ - s (PCRE_DOTALL) + s (PCRE_DOTALL) If this modifier is set, a dot metacharacter in the pattern @@ -59,7 +59,7 @@ - x (PCRE_EXTENDED) + x (PCRE_EXTENDED) If this modifier is set, whitespace data characters in the @@ -77,14 +77,14 @@ - e (PREG_REPLACE_EVAL) + e (PREG_REPLACE_EVAL) If this modifier is set, preg_replace 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 (\) and NULL chars will be escaped by backslashes in substituted backreferences. @@ -94,7 +94,7 @@ - A (PCRE_ANCHORED) + A (PCRE_ANCHORED) If this modifier is set, the pattern is forced to be @@ -107,7 +107,7 @@ - D (PCRE_DOLLAR_ENDONLY) + D (PCRE_DOLLAR_ENDONLY) If this modifier is set, a dollar metacharacter in the pattern @@ -134,13 +134,13 @@ - U (PCRE_UNGREEDY) + U (PCRE_UNGREEDY) 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 ?. It is not compatible with Perl. It can also + be set by a (?U) modifier setting within the pattern or by a question mark behind a quantifier (e.g. .*?). @@ -148,7 +148,7 @@ - X (PCRE_EXTRA) + X (PCRE_EXTRA) This modifier turns on additional functionality of PCRE that @@ -163,16 +163,16 @@ - J (PCRE_INFO_JCHANGED) + J (PCRE_INFO_JCHANGED) - The (?J) internal option setting changes the local PCRE_DUPNAMES option. - Allow duplicate names for subpatterns. + The (?J) internal option setting changes the local PCRE_DUPNAMES + option. Allow duplicate names for subpatterns. - u (PCRE_UTF8) + u (PCRE8) This modifier turns on additional functionality of PCRE that diff --git a/reference/pcre/pattern.syntax.xml b/reference/pcre/pattern.syntax.xml index 01fecae76f..e5b5583ce6 100644 --- a/reference/pcre/pattern.syntax.xml +++ b/reference/pcre/pattern.syntax.xml @@ -1,5 +1,5 @@ - + Pattern Syntax @@ -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 back - reference. A description + entire sequence is taken as a back reference. A description of how this works is given later, following the discussion of parenthesized subpatterns. @@ -384,7 +383,7 @@ A "word" character is any letter or digit or the underscore character, that is, any character which can be part of a - Perl "word". The definition of letters and digits is + Perl "word". 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 @@ Circumflex and dollar 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 (^) 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 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 (^) 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 constructs that can cause a pattern to be anchored.) - 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 ($) 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 character class.