[FEA] Make replace_re multine behavior consistent with contains_re #9845
Labels
feature request
New feature or request
libcudf
Affects libcudf (C++/CUDA) code.
strings
strings issues (C++ and Python)
Is your feature request related to a problem? Please describe.
Given the input string
"A\nB\nC"
and the regexp pattern"^B"
,contains_re
will not find a match butreplace_re
will.Describe the solution you'd like
I would like
replace_re
to match the behavior ofcontains_re
where^
only matches the start of the string and does not match newlines within the string.Describe alternatives you've considered
None
Additional context
None
The text was updated successfully, but these errors were encountered: