Skip to content

Commit 3ea95e8

Browse files
committed
Add the missing '+' to regex special characters.
1 parent fa8c892 commit 3ea95e8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sql-plugin/src/main/scala/com/nvidia/spark/rapids/GpuOverrides.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ object GpuOverrides extends Logging {
469469
private[this] lazy val regexList: Seq[String] = Seq("\\", "\u0000", "\\x", "\t", "\n", "\r",
470470
"\f", "\\a", "\\e", "\\cx", "[", "]", "^", "&", ".", "*", "\\d", "\\D", "\\h", "\\H", "\\s",
471471
"\\S", "\\v", "\\V", "\\w", "\\w", "\\p", "$", "\\b", "\\B", "\\A", "\\G", "\\Z", "\\z", "\\R",
472-
"?", "|", "(", ")", "{", "}", "\\k", "\\Q", "\\E", ":", "!", "<=", ">")
472+
"?", "+", "|", "(", ")", "{", "}", "\\k", "\\Q", "\\E", ":", "!", "<=", ">")
473473
val regexMetaChars = ".$^[]\\|?*+(){}"
474474
/**
475475
* Provides a way to log an info message about how long an operation took in milliseconds.

0 commit comments

Comments
 (0)