Skip to content

Commit

Permalink
include stringSplit
Browse files Browse the repository at this point in the history
Signed-off-by: Suraj Aralihalli <[email protected]>
  • Loading branch information
SurajAralihalli committed Jan 4, 2025
1 parent 275817f commit 0a5c83f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1837,6 +1837,8 @@ abstract class StringSplitRegExpMeta[INPUT <: TernaryExpression](expr: INPUT,
case Some(simplified) =>
pattern = simplified
case None =>
// check that this is valid in Java
Pattern.compile(utf8Str.toString)
try {
val (transpiledAST, _) = transpiler.getTranspiledAST(utf8Str.toString, None, None)
GpuRegExpUtils.validateRegExpComplexity(this, transpiledAST)
Expand Down

0 comments on commit 0a5c83f

Please sign in to comment.