Bases: object
Regex program class.
This is the Cython representation of
cudf::strings::regex_program.
Do not instantiate this class directly, use the create method.
-
__init__(*args, **kwargs)
-
static create(unicode pattern, int flags)
Create a program from a pattern.
For detils, see cudf::strings::regex_program::create().
Parameters
- patternstr
Regex pattern
- flagsUniont[int, RegexFlags]
Regex flags for interpreting special characters in the pattern
Returns
- RegexProgram
A new RegexProgram