You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
We normally throw a "nothing to repeat" error when we attempt to repeat a string anchor, but if the anchor is in a capture group, cuDF hangs.
Adds regex compile logic to check quantifier can be used with the previous item even if its within a capture group.
This prevents an infinite loop occurring when evaluating the expression.
Additional gtests are included to check for this condition which should throw an error.
Closes#11311
Authors:
- David Wendt (https://github.com/davidwendt)
Approvers:
- Tobias Ribizel (https://github.com/upsj)
- Elias Stehle (https://github.com/elstehle)
URL: #11373
Describe the bug
We normally throw a "nothing to repeat" error when we attempt to repeat a string anchor, but if the anchor is in a capture group, cuDF hangs.
Steps/Code to reproduce bug
For end of string anchors, it does not hang nor throw an error specifically when using
split
.Expected behavior
Throw
invalid regex pattern: nothing to repeat at position...
Environment overview (please complete the following information)
Environment details
Click here to see environment details
Additional context
Related issue #10006
The text was updated successfully, but these errors were encountered: