From 722c6b81e61cff0b4d853eca547d5c57d322ca35 Mon Sep 17 00:00:00 2001
From: John Maddock
- For example =[abc]=, will match any of the characters 'a', 'b', or 'c'.
+ For example
- For example =[a-c]= will match any single character in the range 'a' to 'c'.
- By default, for Perl regular expressions, a character x is within the range
- y to z, if the code point of the character lies within the codepoints of
- the endpoints of the range. Alternatively, if you set the
If the bracket-expression begins with the ^ character, then it matches the
- complement of the characters it contains, for example =[abc]
, will match any of the characters 'a',
+ 'b', or 'c'.
@@ -413,10 +414,11 @@
ranges
collate
+ For example [a-c]
will match any single character in the
+ range 'a' to 'c'. By default, for Perl regular expressions, a character x
+ is within the range y to z, if the code point of the character lies within
+ the codepoints of the endpoints of the range. Alternatively, if you set the
+ collate
flag when constructing the regular expression, then ranges are locale
sensitive.
a-c
=
+ complement of the characters it contains, for example [^a-c]
matches any character that is not in the range a-c
.
diff --git a/doc/html/index.html b/doc/html/index.html
index 247c0a84..cabf3cc6 100644
--- a/doc/html/index.html
+++ b/doc/html/index.html
@@ -198,7 +198,7 @@
Last revised: November 29, 2012 at 10:43:51 GMT |
+Last revised: January 31, 2013 at 17:33:20 GMT |