Skip to content

Creating a ChoiceOf from an array #701

New issue

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

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

Already on GitHub? # to your account

Open
bbrk24 opened this issue Dec 1, 2023 · 1 comment
Open

Creating a ChoiceOf from an array #701

bbrk24 opened this issue Dec 1, 2023 · 1 comment

Comments

@bbrk24
Copy link

bbrk24 commented Dec 1, 2023

Relevant forums thread: https://forums.swift.org/t/creating-a-regex-choiceof-from-an-array/68755

I don't mind whether this is ChoiceOf.init<T: Collection<Substring>>(_ arr: T) or AlternationBuilder.buildArray<R: RegexComponent<Substring>>(_ components: [R]), but it should be possible to create a ChoiceOf from a collection.

@tomabuct
Copy link

+1

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants