Skip to content

Commit b7bcb32

Browse files
authored
Merge pull request #602 from hamishknight/quote-overload
2 parents 1c8702f + d1cfc4e commit b7bcb32

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/_StringProcessing/Regex/Core.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ public struct Regex<Output>: RegexComponent {
6363

6464
@available(SwiftStdlib 5.7, *)
6565
extension Regex {
66+
@available(*, deprecated, renamed: "init(verbatim:)")
6667
public init(quoting string: String) {
6768
self.init(node: .quotedLiteral(string))
6869
}

0 commit comments

Comments
 (0)