regex_program#
- class pylibcudf.strings.regex_program.RegexProgram(*args, **kwargs)#
Regex program class.
This is the Cython representation of
cudf::strings::regex_program
.Do not instantiate this class directly, use the create method.
Methods
create
(unicode pattern, int flags)Create a program from a pattern.
- 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