mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Added note about version availability.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@17268 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
fdbd42daea
commit
c651161c27
1 changed files with 16 additions and 4 deletions
|
@ -9,12 +9,14 @@
|
|||
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.</para>
|
||||
it needs to be escaped by backslash.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
The ending delimiter may be followed by various modifiers that
|
||||
affect the matching.
|
||||
See <link linkend="pcre.pattern.modifiers">Pattern Modifiers</link>.</para>
|
||||
See <link linkend="pcre.pattern.modifiers">Pattern Modifiers</link>.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<example>
|
||||
|
@ -24,7 +26,8 @@
|
|||
<listitem><simpara>|(\d{3})-\d+|Sm</simpara></listitem>
|
||||
<listitem><simpara>/^(?i)php[34]/</simpara></listitem>
|
||||
</itemizedlist>
|
||||
</example></para>
|
||||
</example>
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<example>
|
||||
|
@ -35,7 +38,16 @@
|
|||
<listitem><simpara>1-\d3-\d3-\d4| - missing starting delimiter</simpara>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</example></para>
|
||||
</example>
|
||||
</para>
|
||||
|
||||
<note>
|
||||
<simpara>
|
||||
The Perl-compatible regular expression functions are available in
|
||||
PHP 4 and in PHP 3.0.9 and up.
|
||||
</simpara>
|
||||
</note>
|
||||
|
||||
</partintro>
|
||||
|
||||
<refentry id="function.preg-match">
|
||||
|
|
Loading…
Reference in a new issue