aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2010-10-04 16:18:50 +0200
committerBjörn Gustavsson <[email protected]>2010-10-05 14:03:36 +0200
commit9815d1aa229716ada5132987104999db0dea12c0 (patch)
tree4d481e96cce5530bcbf7eec6020eb9aeb55607bf
parent3cfec17ff7aff97c5ec862a8b9e97d245849f9c3 (diff)
downloadotp-9815d1aa229716ada5132987104999db0dea12c0.tar.gz
otp-9815d1aa229716ada5132987104999db0dea12c0.tar.bz2
otp-9815d1aa229716ada5132987104999db0dea12c0.zip
filelib: Document the character set syntax in wildcards
-rw-r--r--lib/stdlib/doc/src/filelib.xml8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/stdlib/doc/src/filelib.xml b/lib/stdlib/doc/src/filelib.xml
index c1c4ca9350..4ff3b22f32 100644
--- a/lib/stdlib/doc/src/filelib.xml
+++ b/lib/stdlib/doc/src/filelib.xml
@@ -4,7 +4,7 @@
<erlref>
<header>
<copyright>
- <year>2003</year><year>2009</year>
+ <year>2003</year><year>2010</year>
<holder>Ericsson AB. All Rights Reserved.</holder>
</copyright>
<legalnotice>
@@ -160,6 +160,12 @@ DeepList = [char() | atom() | DeepList]</code>
<p>Matches any number of characters up to the end of
the filename, the next dot, or the next slash.</p>
</item>
+ <tag>[Character1,Character2,...]</tag>
+ <item>
+ <p>Matches any of the characters listed. Two characters
+ separated by a hyphen will match a range of characters.
+ Example: <c>[A-Z]</c> will match any uppercase letter.</p>
+ </item>
<tag>{Item,...}</tag>
<item>
<p>Alternation. Matches one of the alternatives.</p>