-
Notifications
You must be signed in to change notification settings - Fork 915
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support bracket syntax for cudf::strings::replace_with_backrefs group index values #8841
Support bracket syntax for cudf::strings::replace_with_backrefs group index values #8841
Conversation
Codecov Report
@@ Coverage Diff @@
## branch-21.10 #8841 +/- ##
================================================
- Coverage 10.67% 10.59% -0.09%
================================================
Files 110 116 +6
Lines 18271 19034 +763
================================================
+ Hits 1951 2017 +66
- Misses 16320 17017 +697
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
@gpucibot merge |
… index values (rapidsai#8841) Closes rapidsai#8816 The current `\d` syntax for the replacement template parameter will fail if a number immediately follows the index pattern as described in rapidsai#8816. This PR adds support for the `${d}` pattern but only if the `\d` pattern is not found in the replacement string. This should minimize breaking any current templates already being used with this API. Authors: - David Wendt (https://github.com/davidwendt) Approvers: - Vukasin Milovanovic (https://github.com/vuule) - Christopher Harris (https://github.com/cwharris) URL: rapidsai#8841
Closes #8816
The current
\d
syntax for the replacement template parameter will fail if a number immediately follows the index pattern as described in #8816. This PR adds support for the${d}
pattern but only if the\d
pattern is not found in the replacement string. This should minimize breaking any current templates already being used with this API.