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(str pattern, regex_flags flags)Create a program from a pattern.
- static create(str pattern, regex_flags flags) RegexProgram#
Create a program from a pattern.
For detils, see
create().- Parameters:
- patternstr
Regex pattern
- flagsRegexFlags
Regex flags for interpreting special characters in the pattern
- Returns:
- RegexProgram
A new RegexProgram