Skip to content

Commit e628267

Browse files
committed
Handle NSRE compatibility option in literal printer
1 parent ad1095d commit e628267

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Sources/_StringProcessing/LiteralPrinter.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -544,6 +544,9 @@ extension AST.MatchingOption.Kind {
544544

545545
// Swift-only default possessive quantifier
546546
case .possessiveByDefault: return nil
547+
548+
// NSRE Compatibility option; no literal representation
549+
case .nsreCompatibleDot: return nil
547550
}
548551
}
549552
}

0 commit comments

Comments
 (0)