diff options
Diffstat (limited to 'doc/html/boost/xpressive/set.html')
-rw-r--r-- | doc/html/boost/xpressive/set.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/html/boost/xpressive/set.html b/doc/html/boost/xpressive/set.html index 24c79e84de..03c352a8b8 100644 --- a/doc/html/boost/xpressive/set.html +++ b/doc/html/boost/xpressive/set.html @@ -1,3 +1,4 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> @@ -33,7 +34,7 @@ </span><span class="emphasis"><em><span class="identifier">unspecified</span></em></span> set<span class="special">;</span></pre></div> <div class="refsect1"> -<a name="idp534672176"></a><h2>Description</h2> +<a name="idp541059888"></a><h2>Description</h2> <p>There are two ways to create character sets with the 'set' identifier. The easiest is to create a comma-separated list of the characters in the set, as in (set= 'a','b','c'). This set will match 'a', 'b', or 'c'. The other way is to define the set as an argument to the set subscript operator. For instance, set[ 'a' | range('b','c') | digit ] will match an 'a', 'b', 'c' or a digit character.</p> <p>To complement a set, apply the '~' operator. For instance, ~(set= 'a','b','c') will match any character that is not an 'a', 'b', or 'c'.</p> <p>Sets can be composed of other, possibly complemented, sets. For instance, set[ ~digit | ~(set= 'a','b','c') ]. </p> |