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

Add support for regular expressions containing octal digits greater than \200 #5443

Merged

Conversation

anthony-chang
Copy link
Contributor

Fixes #4746

cuDF only supports hexadecimal characters up to \200, and we fallback to CPU for characters outside that range. This workaround converts octal digits directly to the Unicode character itself, allowing GPU support for the full range of octal digits.

Signed-off-by: Anthony Chang antchang@nvidia.com

Signed-off-by: Anthony Chang <antchang@nvidia.com>
@anthony-chang anthony-chang requested a review from NVnavkumar May 9, 2022 22:35
@sameerz sameerz added the bug Something isn't working label May 10, 2022
@anthony-chang anthony-chang self-assigned this May 10, 2022
Copy link
Collaborator

@NVnavkumar NVnavkumar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Can you also add an integration test for this one? Also see minor feedback note below.

Signed-off-by: Anthony Chang <antchang@nvidia.com>
@anthony-chang anthony-chang requested a review from NVnavkumar May 11, 2022 23:57
@anthony-chang
Copy link
Contributor Author

build

…into support-octal-full-range

Signed-off-by: Anthony Chang <antchang@nvidia.com>
@anthony-chang
Copy link
Contributor Author

build

@NVnavkumar NVnavkumar merged commit 456dfbe into NVIDIA:branch-22.06 May 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEA] Add support for regular expressions containing octal digits in range \200 to 377
3 participants