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

Make EOL anchor behavior match CPU for strings ending with newline #4239

Merged
merged 1 commit into from
Dec 1, 2021

Conversation

andygrove
Copy link
Contributor

@andygrove andygrove commented Nov 30, 2021

Signed-off-by: Andy Grove andygrove@nvidia.com

Closes #4170

Update transpiler to replace $ with [\r]?[\n]?$ so that the GPU behavior matches the Java regular expression engine such that abc$ will now match abc, abc\n, abc\r, and abc\r\n, but not abc\n\r.

…aracter

Signed-off-by: Andy Grove <andygrove@nvidia.com>
@jlowe
Copy link
Member

jlowe commented Nov 30, 2021

build

@andygrove andygrove self-assigned this Nov 30, 2021
@andygrove andygrove merged commit c24dcfe into NVIDIA:branch-22.02 Dec 1, 2021
@andygrove andygrove deleted the eol-anchor-newline branch December 1, 2021 00:05
@sameerz sameerz added the feature request New feature or request label Dec 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEA] Make regular expression behavior with $ and \r consistent with CPU
3 participants