Skip to content

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