[BUG] regexp: cudaErrorIllegalAddress
with replace using regex with possibly empty repetition and string anchor
#11006
Labels
bug
Something isn't working
Describe the bug
cuDF throws
cudaErrorIllegalAddress: an illegal memory access was encountered
when attempting to replace an input using a regex containing a repetition that could possibly match zero results, followed by a string anchor$
. The error seems to only happens when the character preceding the repetition does not appear in the input.Steps/Code to reproduce bug
The error does not happen if the character before the repetition is in the input:
The same error happens for any repetitions that could possibly match zero results:
However, the same case works for searching
Expected behavior
I expect the replace operation to complete with no error.
Environment overview (please complete the following information)
Environment details
Click here to see environment details
Additional context
None
The text was updated successfully, but these errors were encountered: