File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ func matchHexAssignment(_ input: String) -> (String, Int)? {
7575 let hex = Int (match.hex , radix : 16 )
7676 else { return nil }
7777
78- return (match.identifier , hex)
78+ return (String ( match.identifier ) , hex)
7979}
8080```
8181
@@ -382,8 +382,8 @@ We therefore feel this would be a much less compelling feature without first cla
382382[ regex-type ] : https://github.com/apple/swift-evolution/blob/main/proposals/0350-regex-type-overview.md
383383[ strongly-typed-captures ] : https://github.com/apple/swift-experimental-string-processing/blob/main/Documentation/Evolution/StronglyTypedCaptures.md
384384
385- [ internal-syntax ] : https://github.com/apple/swift-experimental-string-processing/blob/main /Documentation/Evolution/RegexSyntax .md
386- [ extended-regex-syntax ] : https://github.com/apple/swift-experimental-string-processing/blob/main /Documentation/Evolution/RegexSyntax .md#extended-syntax-modes
385+ [ internal-syntax ] : https://github.com/apple/swift-experimental-string-processing/blob/39cb22d96d90ee7cb308b1153e106e50598afdd9 /Documentation/Evolution/RegexSyntaxRunTimeConstruction .md
386+ [ extended-regex-syntax ] : https://github.com/apple/swift-experimental-string-processing/blob/39cb22d96d90ee7cb308b1153e106e50598afdd9 /Documentation/Evolution/RegexSyntaxRunTimeConstruction .md#extended-syntax-modes
387387
388388[ regex-dsl ] : https://github.com/apple/swift-evolution/blob/main/proposals/0351-regex-builder.md
389389[ dsl-captures ] : https://github.com/apple/swift-evolution/blob/main/proposals/0351-regex-builder.md#capture-and-reference
You can’t perform that action at this time.
0 commit comments