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 8f93498 commit 297a69dCopy full SHA for 297a69d
Sources/_StringProcessing/_CharacterClassModel.swift
@@ -161,18 +161,6 @@ public struct _CharacterClassModel: Hashable {
161
}
162
163
164
-@available(SwiftStdlib 5.7, *)
165
-extension _CharacterClassModel: RegexComponent {
166
- public typealias RegexOutput = Substring
167
-
168
- public var regex: Regex<RegexOutput> {
169
- guard let ast = self.makeAST() else {
170
- fatalError("FIXME: extended AST?")
171
- }
172
- return Regex(ast: ast)
173
174
-}
175
176
@_spi(RegexBuilder)
177
extension _CharacterClassModel {
178
public static var any: _CharacterClassModel {
0 commit comments