svn: /phpdoc/en/trunk/reference/filesystem/functions/ fnmatch.xml
| From: | Richard Quadling | Date: | Thu, 03 Dec 2009 11:52:18 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/filesystem/functions/ fnmatch.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-5602@lists.php.net to get a copy of this message | ||
rquadling Thu, 03 Dec 2009 11:52:18 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=291640
Log:
Documented flags.
Changed paths:
U phpdoc/en/trunk/reference/filesystem/functions/fnmatch.xml
Modified: phpdoc/en/trunk/reference/filesystem/functions/fnmatch.xml
===================================================================
--- phpdoc/en/trunk/reference/filesystem/functions/fnmatch.xml 2009-12-03 11:50:32 UTC (rev 291639)
+++ phpdoc/en/trunk/reference/filesystem/functions/fnmatch.xml 2009-12-03 11:52:18 UTC (rev 291640)
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
+<?xml version="1.0" encoding="UTF-8"?>
<!-- $Revision$ -->
<refentry xmlns="http://docbook.org/ns/docbook"
xml:id="function.fnmatch">
<refnamediv>
@@ -53,7 +53,48 @@
<term><parameter>flags</parameter></term>
<listitem>
<para>
- One of the <literal>FNM_XXX</literal> constants.
+ The value of <parameter>flags</parameter> can be any combination of
+ the following flags, joined with the
+ <link linkend="language.operators.bitwise">binary OR (|)
operator</link>.
+ <table>
+ <title>
+ A list of possible flags for <function>fnmatch</function>
+ </title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry><parameter>Flag</parameter></entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry><constant>FNM_NOESCAPE</constant></entry>
+ <entry>
+ Disable backslash escaping.
+ </entry>
+ </row>
+ <row>
+ <entry><constant>FNM_PATHNAME</constant></entry>
+ <entry>
+ Slash in string only matches slash in the given pattern.
+ </entry>
+ </row>
+ <row>
+ <entry><constant>FNM_PERIOD</constant></entry>
+ <entry>
+ Leading period in string must be exactly matched by period in the given pattern.
+ </entry>
+ </row>
+ <row>
+ <entry><constant>FNM_CASEFOLD</constant></entry>
+ <entry>
+ Caseless match. Part of the GNU extension.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
</para>
</listitem>
</varlistentry>