We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a358b8 commit 106daebCopy full SHA for 106daeb
Sources/MacroToolkit/RegexLiteral.swift
@@ -15,7 +15,7 @@ public struct RegexLiteral: LiteralProtocol {
15
}
16
17
/// Rethrows parsing errors thrown by the `Regex` initializer.
18
- @available(macOS 13.0, *)
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
19
public func regexValue() throws -> Regex<AnyRegexOutput> {
20
return try Regex(_syntax.regex.text)
21
0 commit comments