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)? {
75
75
let hex = Int (match.hex , radix : 16 )
76
76
else { return nil }
77
77
78
- return (match.identifier , hex)
78
+ return (String ( match.identifier ) , hex)
79
79
}
80
80
```
81
81
@@ -382,8 +382,8 @@ We therefore feel this would be a much less compelling feature without first cla
382
382
[ regex-type ] : https://github.com/apple/swift-evolution/blob/main/proposals/0350-regex-type-overview.md
383
383
[ strongly-typed-captures ] : https://github.com/apple/swift-experimental-string-processing/blob/main/Documentation/Evolution/StronglyTypedCaptures.md
384
384
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
387
387
388
388
[ regex-dsl ] : https://github.com/apple/swift-evolution/blob/main/proposals/0351-regex-builder.md
389
389
[ 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