Skip to content

Commit 3c9a2e2

Browse files
authored
Merge pull request #603 from hamishknight/quote-overload-5.7
2 parents 4eb3233 + d52f885 commit 3c9a2e2

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)