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

Add function match_times and match_full #72

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Amiralgaby
Copy link

@Amiralgaby Amiralgaby commented Jun 24, 2021

I propose to add two of my functions created to learn how to make pull requests, they seem interesting to me to have new features.
I'm beginner in GitHub pull request and I'm only second degree bachelor :)

match_times

This function gives the number of occurrence of pattern in text.
It takes an function executed when a match is found and take two parameters : index of start of current match and its width.

match_full

This function return 1 (true) if the pattern match perfectly with text (match isn't a sub-string)
0 otherwise

I would like to know what you think of my idea.

have a nice day :)

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.

1 participant