Difference between revisions of "cpp/regex"
m (desc for the iterators) |
(+templates, -comments aboutregex-constants) |
||
Line 12: | Line 12: | ||
{{dcl list begin}} | {{dcl list begin}} | ||
{{dcl list template | cpp/regex/dcl list basic_regex }} | {{dcl list template | cpp/regex/dcl list basic_regex }} | ||
− | {{dcl list | + | {{dcl list template | cpp/regex/dcl list sub_match }} |
{{dcl list template | cpp/regex/dcl list match_results }} | {{dcl list template | cpp/regex/dcl list match_results }} | ||
{{dcl list end}} | {{dcl list end}} | ||
Line 21: | Line 21: | ||
{{dcl list begin}} | {{dcl list begin}} | ||
− | {{dcl list | + | {{dcl list template | cpp/regex/dcl list regex_match }} |
− | {{dcl list | + | {{dcl list template | cpp/regex/dcl list regex_search }} |
− | {{dcl list | + | {{dcl list template | cpp/regex/dcl list regex_replace }} |
{{dcl list end}} | {{dcl list end}} | ||
Line 31: | Line 31: | ||
{{dcl list begin}} | {{dcl list begin}} | ||
− | {{dcl list | + | {{dcl list template | cpp/regex/dcl list regex_iterator }} |
− | {{dcl list | + | {{dcl list template | cpp/regex/dcl list regex_token_iterator }} |
{{dcl list end}} | {{dcl list end}} | ||
Line 40: | Line 40: | ||
{{dcl list begin}} | {{dcl list begin}} | ||
− | {{dcl list | + | {{dcl list template | cpp/regex/dcl list regex_error }} |
{{dcl list end}} | {{dcl list end}} | ||
Line 48: | Line 48: | ||
{{dcl list begin}} | {{dcl list begin}} | ||
− | {{dcl list | + | {{dcl list template | cpp/regex/dcl list regex_traits }} |
{{dcl list end}} | {{dcl list end}} | ||
Line 59: | Line 59: | ||
{{dcl list template | cpp/regex/dcl list error_type}} | {{dcl list template | cpp/regex/dcl list error_type}} | ||
{{dcl list end}} | {{dcl list end}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 07:38, 29 May 2012
The regular expressions library provides a class that represents regular expressions, which are a kind of mini-language used to perform pattern matching within strings.
Also provided in the regular expressions library are utility classes that provide support for various algorithms, iterators, exceptions, and type traits.
Contents |
Main classes
These classes encapsulate a regular expression and the results of matching a regular expression within a target sequence of characters.
Algorithms
These functions are used to apply the regular expression encapsulated in a regex to a target sequence of characters..
Iterators
The regex iterators are used to traverse the entire set of regular expression matches found within a sequence.
Exceptions
This class defines the type of objects thrown as exceptions to report errors from the regular expressions library.
Traits
The regex traits class is used to encapsulate the localizable aspects of a regex.
Constants
Defined in namespace
std::regex_constants |