Skip to content
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

Fix strings replace for adjacent, identical multi-byte UTF-8 character targets #14235

Merged

Conversation

davidwendt
Copy link
Contributor

Description

Fixes bug that can occur when replacing all occurrences in a string using a multi-byte UTF-8 target when the target matches sequentially in the same string -- some characters were missed.
Specialized gtest is also added.

Found while working on #13891

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@davidwendt davidwendt added bug Something isn't working 2 - In Progress Currently a work in progress libcudf Affects libcudf (C++/CUDA) code. strings strings issues (C++ and Python) non-breaking Non-breaking change labels Sep 28, 2023
@davidwendt davidwendt self-assigned this Sep 28, 2023
@davidwendt davidwendt added 3 - Ready for Review Ready for review by team and removed 2 - In Progress Currently a work in progress labels Oct 4, 2023
@davidwendt davidwendt marked this pull request as ready for review October 4, 2023 17:46
@davidwendt davidwendt requested a review from a team as a code owner October 4, 2023 17:46
@davidwendt davidwendt requested review from bdice and ttnghia October 4, 2023 17:46
@davidwendt
Copy link
Contributor Author

/merge

@rapids-bot rapids-bot bot merged commit 5d311ea into rapidsai:branch-23.12 Oct 5, 2023
54 checks passed
@davidwendt davidwendt deleted the fix-replace-adjacent-utf8-chars branch October 5, 2023 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 - Ready for Review Ready for review by team bug Something isn't working libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change strings strings issues (C++ and Python)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants