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 an option to raise an error on invalid escape sequences in regular expressions #147

Open
metthal opened this issue Oct 26, 2020 · 0 comments

Comments

@metthal
Copy link
Member

metthal commented Oct 26, 2020

The feature of YARA is that it allows invalid escape sequences and never raises an error on them. We behave the same way in yaramod. However, sometimes it is desirable to find out about these invalid escape sequences since you might want to use those regular expressions somewhere else and not all regex engines are so tolerant.

Definition of done:

Yaramod will have opt-in option to raise and error on invalid escape sequence when creating Yaramod instance.

@metthal metthal added this to To do in Planning via automation Oct 26, 2020
@TadeasKucera TadeasKucera added the mirrored Issue is mirrored in butr label Oct 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants