Skip to content

[Proposal] Extract Pattern returns all matches - #17

Open
GeBuch wants to merge 1 commit into
kfrancis:mainfrom
GeBuch:feature/mulipattern
Open

GeBuch wants to merge 1 commit into
kfrancis:mainfrom
GeBuch:feature/mulipattern

Conversation

@GeBuch

@GeBuch GeBuch commented Apr 13, 2025

Copy link
Copy Markdown

Hi, this is a proposal to extract all matches from a given pattern, if necessary its still possible to reduce the number of matches with the ValidateFunction. Externally nothing changes a MatchedValues is already Enumerable.

I made a copy of the function for the propsal for side by side comparisons. If you agree I will cleanup the commit before approval.

@kfrancis

Copy link
Copy Markdown
Owner

Looks good to me. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants