Lines Matching refs:character
11 This module includes different character oriented generators allowing to output
13 `char_` (single characters, ranges and character sets) and the encoding
14 specific character classifiers (`alnum`, `alpha`, `digit`, `xdigit`, etc.).
28 The character generators described in this section are:
33 character ranges.
39 The no argument form of `char_` emits any character in the associated
42 char_ // emits any character as supplied by the attribute
46 The single argument form of `char_` (with a character argument) emits
47 the supplied character.
55 `char_` with two arguments, emits any character from a range of characters as
61 A range of characters is created from a low-high character pair. Such a
62 generator emits a single character that is in the range, including both
63 endpoints. Note, the first character must be /before/ the second,
74 switches from a `std::bitset` implementation when the character type is
87 a syntax that resembles posix style regular expression character sets
89 brackets and there is no special negation ^ character). Examples:
96 These generators emit any character from a range of characters as
101 `lit`, when passed a single character, behaves like the single argument
109 character, a string generator is created when you pass in a string, and a
145 [Character-class specific character (See __char_class_types__),
147 character-class specific character value]]
150 evaluates to a character-set specifier string, or a
153 a syntax that resembles posix style regular expression character
154 sets (except the square brackets and the negation `^` character).]]
165 [[`ch`] [Generate the character literal `ch`. This generator
168 [[`lit(ch)`] [Generate the character literal `ch`. This generator
171 [[`ns::char_`] [Generate the character provided by a mandatory
172 attribute interpreted in the character set defined
175 [[`ns::char_(ch)`] [Generate the character `ch` as provided by the
182 [[`ns::char_("c")`] [Generate the character `c` as provided by the
189 [[`ns::char_(ch1, ch2)`][Generate the character provided by a mandatory
190 attribute interpreted in the character set defined
192 attribute belongs to the character range `[ch1, ch2]`
196 [[`ns::char_(cs)`] [Generate the character provided by a mandatory
197 attribute interpreted in the character set defined
199 attribute belongs to the character set `cs`
204 that inverts the test condition of the character
208 A character `ch` is assumed to belong to the character range defined by
209 `ns::char_(ch1, ch2)` if its character value (binary representation)
210 interpreted in the character set defined by `ns` is not smaller than the
211 character value of `ch1` and not larger then the character value of `ch2` (i.e.
215 containing more than one character. Every single character in this string is
216 assumed to belong to the character set defined by this expression. An exception
217 to this is the `'-'` character which has a special meaning if it is not
218 specified as the first and not the last character in `charset`. If the `'-'`
219 is used in between to characters it is interpreted as spanning a character
220 range. A character `ch` is considered to belong to the defined character set
239 will fail). `Ch` is the character type of the
244 `Ch` is the character type of the
249 `Ch` is the character type of the
253 belongs to the character range `[ch1, ch2]`
254 interpreted in the character set defined by `ns`.
255 `Ch` is the character type of the
259 belongs to the character set `cs`, interpreted
260 in the character set defined by `ns`.
261 `Ch` is the character type of the
277 `ns::char_("c")` is constant as all generators emit exactly one character per
280 The character range generator (`ns::char_(ch1, ch2)`) additionally requires
282 the character range.
284 The character set generator (`ns::char_(cs)`) additionally requires
286 the character set, where N is the number of characters in the character set.
312 The library has the full repertoire of single character generators for
313 character classification. This includes the usual `alnum`, `alpha`,
344 corresponding character class generator. All listed generators have a mandatory
435 character in the character set defined by `ns`.]]
443 to the respective character class. Some examples:
455 [:All listed character class generators can take any attribute `Ch`. All
456 character class generators (except `space`) require an attribute and will
469 The complexity is constant as the generators emit not more than one character