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

Negated character classes don't work in case-insensitive regexps. #765

Closed
plusvic opened this issue Oct 23, 2017 · 1 comment
Closed

Negated character classes don't work in case-insensitive regexps. #765

plusvic opened this issue Oct 23, 2017 · 1 comment

Comments

@plusvic
Copy link
Member

plusvic commented Oct 23, 2017

The following rule matches the string abcd and it shouldn't.

rule re {
  strings:
     $re = /abc[^d]/ nocase
  condition:
     $re
}
plusvic added a commit that referenced this issue Oct 23, 2017
plusvic added a commit that referenced this issue Oct 24, 2017
* Fix issue #765.

* Simplify logic of _yr_re_is_char_in_class
@plusvic
Copy link
Member Author

plusvic commented Oct 24, 2017

Fixed in 554b5df

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

No branches or pull requests

1 participant