aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/doc/src/filelib.xml
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2017-10-05 10:40:52 +0200
committerGitHub <[email protected]>2017-10-05 10:40:52 +0200
commitf7476ef04d6cad95a54aff3aae734c25a283e3fd (patch)
treefeb60a7333102e60fce579a3a50685272a0825a9 /lib/stdlib/doc/src/filelib.xml
parentb6c52ec1a344d7ee42b10feddb10c1d03b3a7c27 (diff)
parent36dc96339e2b2b692e6dfe6de43db3a2348732bd (diff)
downloadotp-f7476ef04d6cad95a54aff3aae734c25a283e3fd.tar.gz
otp-f7476ef04d6cad95a54aff3aae734c25a283e3fd.tar.bz2
otp-f7476ef04d6cad95a54aff3aae734c25a283e3fd.zip
Merge pull request #1567 from bjorng/bjorn/stdlib/wildcard-escaping/ERL-451/OTP-14577
Implement escaping of special characters in wildcards
Diffstat (limited to 'lib/stdlib/doc/src/filelib.xml')
-rw-r--r--lib/stdlib/doc/src/filelib.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/stdlib/doc/src/filelib.xml b/lib/stdlib/doc/src/filelib.xml
index 57c4348745..1b69e84d31 100644
--- a/lib/stdlib/doc/src/filelib.xml
+++ b/lib/stdlib/doc/src/filelib.xml
@@ -217,6 +217,11 @@
<p>Other characters represent themselves. Only filenames that
have exactly the same character in the same position match.
Matching is case-sensitive, for example, "a" does not match "A".</p>
+ <p>Directory separators must always be written as <c>/</c>, even on
+ Windows.</p>
+ <p>A character preceded by <c>\</c> loses its special meaning. Note
+ that <c>\</c> must be written as <c>\\</c> in a string literal.
+ For example, "\\?*" will match any filename starting with <c>?</c>.</p>
<p>Notice that multiple "*" characters are allowed
(as in Unix wildcards, but opposed to Windows/DOS wildcards).</p>
<p><em>Examples:</em></p>