|
| _PCRE2CPP_CONSTEXPR20 | basic_regex (const _string_view_type pattern, const compile_options opts=compile_options_bits::None) _PCRE2CPP_NOEXCEPT |
| | basic regex container with pattern and compile options
|
| _PCRE2CPP_CONSTEXPR17 | basic_regex (const basic_regex &other) noexcept=default |
| | default copy constructor
|
| _PCRE2CPP_CONSTEXPR17 | basic_regex (basic_regex &&other) noexcept=default |
| | default move constructor
|
| _PCRE2CPP_CONSTEXPR20 | ~basic_regex () noexcept=default |
| | default destructor
|
| _PCRE2CPP_CONSTEXPR17 basic_regex & | operator= (const basic_regex &other) noexcept=default |
| | default copy assign operator
|
| _PCRE2CPP_CONSTEXPR17 basic_regex & | operator= (basic_regex &&other) noexcept=default |
| | default move assign operator
|
| _PCRE2CPP_CONSTEXPR17 bool | is_initialized () const noexcept |
| | returns true if regex was initialized
|
| _PCRE2CPP_CONSTEXPR17 _string_type | get_error_message () const noexcept |
| | returns error message if there is any compilation error
|
| _PCRE2CPP_CONSTEXPR17 bool | match (const _string_view_type text, const size_t offset=0, const match_options opts=match_options_bits::None) const _PCRE2CPP_NOEXCEPT |
| | returns true if match was found
|
| _PCRE2CPP_CONSTEXPR20 bool | match (const _string_view_type text, _match_result_type &result, const size_t offset=0, const match_options opts=match_options_bits::None) const noexcept |
| | returns true if match was found and result is stored in result variable
|
| _PCRE2CPP_CONSTEXPR17 bool | match_at (const _string_view_type text, const size_t offset=0) const noexcept |
| | returns true if match was found, and it has relative offset == 0
|
| _PCRE2CPP_CONSTEXPR17 bool | match_at (const _string_view_type text, _match_result_type &result, const size_t offset=0) const noexcept |
| | returns true if match was found, and it has relative offset == 0 and result is stored in result variable
|
| _PCRE2CPP_CONSTEXPR17 bool | match_all (const _string_view_type text, std::vector< _match_result_type > &results, size_t offset=0) const noexcept |
| | returns true if any match was found and all results store in results array
|
template<
utf_type utf>
class pcre2cpp::basic_regex< utf >
Basic PCRE2 Regex container.
- Template Parameters
-