boost::regex: regex meta data or AST for regex?
Frank Bergemann <[email protected]> Sun, 17 Jan 2021 09:33:53 +0100
| Newsgroups | gmane.comp.parsers.spirit.general |
|---|---|
| Message-ID | <[email protected]> |
cross-posting from boost users - it fits better here: in concrete: Is it possible to not only get the #no of groups (sub-expressions) via basic_regex::mark_count(), but also their position (begin() / end() iterators) in the given regex string (c'tor argument)? more general: Can an AST be created for a the given regex string (c'tor argument)? E.g with boost::spirit?