Skip to content

Commit

Permalink
address comment
Browse files Browse the repository at this point in the history
Signed-off-by: Haoyang Li <[email protected]>
  • Loading branch information
thirtiseven committed Jan 25, 2024
1 parent c6311d2 commit 9ef84fc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,7 @@ class CudfRegexTranspiler(mode: RegexMode) {
e match {
case RegexEscaped(ch) if escapeChars.contains(ch) => Some(escapeChars(ch).toString)
case RegexEscaped(ch) if regexPunct.contains(ch) => Some(ch.toString)
case RegexChar(ch) if regexMetaChars.contains(ch) => Some(ch.toString)
case RegexChar(ch) if !regexMetaChars.contains(ch) => Some(ch.toString)
case RegexSequence(parts) =>
parts.foldLeft[Option[String]](Some("")) { (all, x) =>
all match {
Expand Down

0 comments on commit 9ef84fc

Please sign in to comment.