diff options
author | John Millaway <john43@users.sourceforge.net> | 2006-03-28 20:47:11 +0000 |
---|---|---|
committer | John Millaway <john43@users.sourceforge.net> | 2006-03-28 20:47:11 +0000 |
commit | 771ed6ddf3cba36aeca375641297b9b254c7d74b (patch) | |
tree | a98d84490a3296202cdca6ee932062c439ae9618 /doc | |
parent | f6faf861a7f39e893f502107a6c767aadc82ac49 (diff) |
Added ccl union operator.
Added test in test suite for ccl union operator.
Documented ccl union operator.
Removed crufty ccl cache to prevent parser problems.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/flex.texi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/flex.texi b/doc/flex.texi index 04aff51..54be073 100644 --- a/doc/flex.texi +++ b/doc/flex.texi @@ -997,6 +997,13 @@ just the single character @samp{a}). The @samp{@{-@}} operator is left associative, so @samp{[abc]@{-@}[b]@{-@}[c]} is the same as @samp{[a]}. Be careful not to accidently create an empty set, which will never match. +@item + +The @samp{@{+@}} operator computes the union of two character classes. For +example, @samp{[a-z]@{+@}[0-9]} is the same as @samp{[a-z0-9]}. This operator +is useful when preceded by the result of a difference operation, as in, +@samp{[[:alpha:]]@{-@}[[:lower:]]@{+@}[q]}, which is equivalent to +@samp{[A-Zq]} in the "C" locale. @cindex trailing context, limits of @cindex ^ as non-special character in patterns |