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

Provide regexp units through Python bindings #29

Closed
metthal opened this issue Jul 7, 2019 · 0 comments · Fixed by #31
Closed

Provide regexp units through Python bindings #29

metthal opened this issue Jul 7, 2019 · 0 comments · Fixed by #31

Comments

@metthal
Copy link
Member

metthal commented Jul 7, 2019

Regular expressions are parsed down to individual regular expression units (character class, alternation, meta characters like ., \s, ...). These unit are available through C++ API but they are not available through Python bindings. It would be nice to have them available in case anybody wants to process them from Python.

It should be enough to add all of them into src/python/yaramod_python.cpp with pointers to their respective C++ counterparts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants