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 f34686c commit 8144b3aCopy full SHA for 8144b3a
Sources/_StringProcessing/RegexDSL/Match.swift
@@ -18,6 +18,8 @@ public struct RegexMatch<Match> {
18
19
public var match: Match {
20
if Match.self == (Substring, DynamicCaptures).self {
21
+ // FIXME(rdar://89449323): Compiler assertion
22
+ let input = input
23
let dynCaps = rawCaptures.map { StoredDynamicCapture($0, in: input) }
24
return (input[range], dynCaps) as! Match
25
} else if Match.self == Substring.self {
0 commit comments