d2 icon indicating copy to clipboard operation
d2 copied to clipboard

Migrate D2ScriptParser to regex builders

Open fwcd opened this issue 2 years ago • 0 comments

Sadly, we need more than 10 captures, which is the reason why this currently doesn't compile: https://stackoverflow.com/questions/73808600/how-to-capture-more-than-10-things-using-swift-5-7s-regexbuilder

With Swift 5.9's variadic generics arriving, we can only hope that this limitation is soon lifted.

fwcd avatar Feb 14 '24 17:02 fwcd