findall#

pylibcudf.strings.findall.find_re(
Column input,
RegexProgram pattern,
stream=None,
DeviceMemoryResource mr=None,
) Column#

Returns character positions where the pattern first matches the elements in input strings.

For details, see find_re()

Parameters:
inputColumn

Strings instance for this operation

patternRegexProgram

Regex pattern

streamStream | None

CUDA stream on which to perform the operation.

Returns:
Column

New column of integers

pylibcudf.strings.findall.findall(
Column input,
RegexProgram pattern,
stream=None,
DeviceMemoryResource mr=None,
) Column#

Returns a lists column of strings for each matching occurrence using the regex_program pattern within each string.

For details, see findall().

Parameters:
inputColumn

Strings instance for this operation

patternRegexProgram

Regex pattern

streamStream | None

CUDA stream on which to perform the operation.

Returns:
Column

New lists column of strings