Classes | |
struct | cudf::strings::regex_program |
Regex program class. More... | |
Enumerations | |
enum | cudf::strings::regex_flags : uint32_t { cudf::strings::DEFAULT = 0 , cudf::strings::MULTILINE = 8 , cudf::strings::DOTALL = 16 , cudf::strings::ASCII = 256 } |
Regex flags. More... | |
enum class | cudf::strings::capture_groups : uint32_t { cudf::strings::EXTRACT , cudf::strings::NON_CAPTURE } |
Capture groups setting. More... | |
Functions | |
constexpr bool | cudf::strings::is_multiline (regex_flags const f) |
Returns true if the given flags contain MULTILINE. More... | |
constexpr bool | cudf::strings::is_dotall (regex_flags const f) |
Returns true if the given flags contain DOTALL. More... | |
constexpr bool | cudf::strings::is_ascii (regex_flags const f) |
Returns true if the given flags contain ASCII. More... | |
|
strong |
Capture groups setting.
For processing a regex pattern containing capture groups. These can be used to optimize the generated regex instructions where the capture groups do not require extracting the groups.
Enumerator | |
---|---|
EXTRACT | Capture groups processed normally for extract. |
NON_CAPTURE | Convert all capture groups to non-capture groups. |
enum cudf::strings::regex_flags : uint32_t |
Regex flags.
These types can be or'd to combine them. The values are chosen to leave room for future flags and to match the Python flag values.
Enumerator | |
---|---|
DEFAULT | default |
MULTILINE | the '^' and '$' honor new-line characters |
DOTALL | the '.' matching includes new-line characters |
ASCII | use only ASCII when matching built-in character classes |
|
constexpr |
|
constexpr |
|
constexpr |