-
Notifications
You must be signed in to change notification settings - Fork 1
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
Initial code #1
base: main
Are you sure you want to change the base?
Initial code #1
Conversation
Add workflow
|
||
return this with | ||
{ | ||
PartialMatch = SubExpression.CreateMatch(nextElement)!, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please find another solution without using !
for nullable warnings
|
||
public sealed class Matcher<T> | ||
{ | ||
public IEnumerable<Match<T>> FindMatches<TInput>(IGregex<T> gregex, IEnumerable<TInput> elements) where TInput : T |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Könnte es auch sinnvoll sein, mehr als nur die Elements zu returnen? Z.b. die Indices an denen die matches gefunden wurden?
No description provided.