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 , cudf::strings::EXT_NEWLINE = 512 } |
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... | |
constexpr bool | cudf::strings::is_ext_newline (regex_flags const f) |
Returns true if the given flags contain EXT_NEWLINE. 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.
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |