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:
Torben Wilson 1999-12-15 21:05:03 +00:00
parent fdbd42daea
commit c651161c27

View file

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