Go to the source code of this file.
|
std::unique_ptr< column > | cudf::strings::replace_re (strings_column_view const &input, regex_program const &prog, string_scalar const &replacement=string_scalar(""), std::optional< size_type > max_replace_count=std::nullopt, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=rmm::mr::get_current_device_resource()) |
| For each string, replaces any character sequence matching the given regex with the provided replacement string. More...
|
|
std::unique_ptr< column > | cudf::strings::replace_re (strings_column_view const &input, std::vector< std::string > const &patterns, strings_column_view const &replacements, regex_flags const flags=regex_flags::DEFAULT, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=rmm::mr::get_current_device_resource()) |
| For each string, replaces any character sequence matching the given patterns with the corresponding string in the replacements column. More...
|
|
std::unique_ptr< column > | cudf::strings::replace_with_backrefs (strings_column_view const &input, regex_program const &prog, std::string_view replacement, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=rmm::mr::get_current_device_resource()) |
| For each string, replaces any character sequence matching the given regex using the replacement template for back-references. More...
|
|