Skip to content

Conversation

@markshannon
Copy link
Contributor

@markshannon markshannon commented Jun 26, 2019

Fixes #1181

Specifically the case where the first character in the character set is [.
E.g. In the regex [[]....[x] this PR removes the erroneous character set [...[x]

@markshannon markshannon changed the title Python regex: Fix handling of character sets. Fixes https://github.com/Semmle/ql/issues/1181 Python regex: Fix handling of character sets. Jun 26, 2019
@taus-semmle taus-semmle merged commit 2576884 into github:master Jun 27, 2019
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.

Python: False Positive in py/regex/duplicate-in-character-class

2 participants