We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
\D
\W
Describe the bug \D is inconsistent between Spark and cuDF. Spark will match newline and cuDF does not. This may also apply to \d.
\d
Steps/Code to reproduce bug
test("compare CPU and GPU: non-digit class") { val patterns = Seq(raw"\D", raw"\d\D\d", raw"\D\d\D") val inputs = Seq("1", "a1b", "1a2", " 1\n", " a\n") assertCpuGpuMatchesRegexpFind(patterns, inputs) }
Fails with:
javaPattern=\D\d\D, cudfPattern=\D\d\D, input=' 1\n', cpu=true, gpu=false
Expected behavior Behavior should be made consistent by transpiling to an equivalent term in cuDF (perhaps (?:\D|\n))
(?:\D|\n)
Environment details (please complete the following information) N/A
Additional context None
The text was updated successfully, but these errors were encountered:
andygrove
Successfully merging a pull request may close this issue.
Describe the bug
\D
is inconsistent between Spark and cuDF. Spark will match newline and cuDF does not. This may also apply to\d
.Steps/Code to reproduce bug
Fails with:
Expected behavior
Behavior should be made consistent by transpiling to an equivalent term in cuDF (perhaps
(?:\D|\n)
)Environment details (please complete the following information)
N/A
Additional context
None
The text was updated successfully, but these errors were encountered: