Date: 06/28/00
- Next message: Stefan Livieratos: "[PHP-DOC] XML-Version of FAQ"
- Previous message: Rômulo Péricles Furtado: "[PHP-DOC] 5.4. How do I get these libraries to work?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
andrei Wed Jun 28 13:19:57 2000 EDT
Modified files:
/phpdoc/en/functions pcre.xml
Log:
Added docs about new parameter.
Index: phpdoc/en/functions/pcre.xml
diff -u phpdoc/en/functions/pcre.xml:1.5 phpdoc/en/functions/pcre.xml:1.6
--- phpdoc/en/functions/pcre.xml:1.5 Sat Jun 24 08:40:15 2000
+++ phpdoc/en/functions/pcre.xml Wed Jun 28 13:19:57 2000
@@ -234,12 +234,17 @@
<paramdef>mixed <parameter>pattern</parameter></paramdef>
<paramdef>mixed <parameter>replacement</parameter></paramdef>
<paramdef>mixed <parameter>subject</parameter></paramdef>
+ <paramdef>int <parameter><optional>limit</optional></parameter></paramdef>
</funcprototype>
</funcsynopsis>
<para>
- Searches <parameter>subject</parameter> for matches to <parameter>
- pattern</parameter> and replaces them with <parameter>replacement
- </parameter>.
+ Searches <parameter>subject</parameter> for matches to
+ <parameter> pattern</parameter> and replaces them with
+ <parameter>replacement </parameter>. If
+ <parameter>limit</parameter> is specified, then only
+ <parameter>limit</parameter> matches will be replaced; if
+ <parameter>limit</parameter> is omitted or is -1, then all
+ matches are replaced.
</para>
<para>
<parameter>Replacement</parameter> may contain references of the
- Next message: Stefan Livieratos: "[PHP-DOC] XML-Version of FAQ"
- Previous message: Rômulo Péricles Furtado: "[PHP-DOC] 5.4. How do I get these libraries to work?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

