Sequoia
|
Definitions for Patterns.hpp. More...
Functions | |
std::pair< std::string::size_type, std::string::size_type > | sequoia::find_matched_delimiters (std::string_view text, const char open, const char close, std::string::size_type pos) |
std::pair< std::string::size_type, std::string::size_type > | sequoia::find_sandwiched_text (std::string_view s, std::string_view leftPattern, std::string_view rightPattern, std::string::size_type pos) |
Definitions for Patterns.hpp.
std::pair< std::string::size_type, std::string::size_type > sequoia::find_matched_delimiters | ( | std::string_view | s, |
char | open, | ||
char | close, | ||
std::string::size_type | pos = {} |
||
) |
Searchs for matched delimiters; if found returns the positions of the opening and one past closing.