mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
make some <para> look like the others
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@74419 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
7f17fe8de6
commit
61ab742a03
1 changed files with 5 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.75 $ -->
|
||||
<!-- $Revision: 1.76 $ -->
|
||||
<reference id="ref.pcre">
|
||||
<title>Regular Expression Functions (Perl-Compatible)</title>
|
||||
<titleabbrev>PCRE</titleabbrev>
|
||||
|
@ -712,13 +712,15 @@ $textbody = preg_replace ("/".preg_quote($word)."/",
|
|||
<para>
|
||||
<function>preg_grep</function> returns the array consisting of
|
||||
the elements of the <parameter>input</parameter> array that match
|
||||
the given <parameter>pattern</parameter>.</para>
|
||||
the given <parameter>pattern</parameter>.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
Since PHP 4.0.4, the results returned by <function>preg_grep</function>
|
||||
are indexed using the keys from the input array. If this behavior is
|
||||
undesirable, use <function>array_values</function> on the array returned by
|
||||
<function>preg_grep</function> to reindex the values.</para>
|
||||
<function>preg_grep</function> to reindex the values.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<example>
|
||||
|
@ -912,7 +914,6 @@ $fl_array = preg_grep ("/^(\d+)?\.\d+$/", $array);
|
|||
</refentry>
|
||||
|
||||
<refentry id="pcre.pattern.syntax">
|
||||
|
||||
<refnamediv>
|
||||
<refname>Pattern Syntax</refname>
|
||||
<refpurpose>Describes PCRE regex syntax</refpurpose>
|
||||
|
|
Loading…
Reference in a new issue