Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate D2ScriptParser to regex builders #148

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

fwcd
Copy link
Owner

@fwcd fwcd commented Feb 14, 2024

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 fwcd mentioned this pull request Feb 14, 2024
2 tasks
@fwcd fwcd force-pushed the migrate-d2scriptparser-regex branch from 8dd5008 to b3f83f9 Compare February 14, 2024 21:36
@fwcd fwcd added the refactoring Improvements to the code structure label Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring Improvements to the code structure
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant