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

Initial code #1

Open
wants to merge 15 commits into
base: main
Choose a base branch
from
Open

Initial code #1

wants to merge 15 commits into from

Conversation

markstrempel
Copy link
Collaborator

No description provided.

@markstrempel markstrempel self-assigned this Oct 25, 2024
src/Anexia.Gregex/Gregex.cs Show resolved Hide resolved
src/Anexia.Gregex/Match.cs Outdated Show resolved Hide resolved
src/Anexia.Gregex/Pair.cs Outdated Show resolved Hide resolved
src/Anexia.Gregex/RepeatMatch.cs Outdated Show resolved Hide resolved

return this with
{
PartialMatch = SubExpression.CreateMatch(nextElement)!,

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

src/Anexia.Gregex/Test.cs Outdated Show resolved Hide resolved

public sealed class Matcher<T>
{
public IEnumerable<Match<T>> FindMatches<TInput>(IGregex<T> gregex, IEnumerable<TInput> elements) where TInput : T

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?

README.md Outdated Show resolved Hide resolved
src/Anexia.Gregex/Any.cs Outdated Show resolved Hide resolved
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