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

Enable storing multiple compiled patterns at once #25

Closed
wants to merge 37 commits into from
Closed

Enable storing multiple compiled patterns at once #25

wants to merge 37 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Dec 7, 2018

Hello,

Firstly, thank you for generously publishing this code in the public domain.

Here are changes which resolve #3, which also change the public API. In summary, we now have:

typedef regex_t re_t[MAX_REGEXP_OBJECTS];
int re_compile(re_t re_compiled, const char* pattern);

Here is a snippet which demonstrates the new functionality:
https://gist.github.com/jmher/95bbc3b286bf5eb40fee304e95c7ddc6

JM

@ghost ghost closed this Dec 7, 2018
@ghost ghost deleted the multi-patt branch December 7, 2018 20:22
@ghost
Copy link
Author

ghost commented Dec 7, 2018

I have tidied this pull request up and resubmitted.

This pull request was closed.
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.

Enable use of multiple patterns at the same time
4 participants