mirror of
https://github.com/github/codeql.git
synced 2026-05-01 03:35:13 +02:00
fix FP related to inverted character classes choosing a char that was not matched by the char class
This commit is contained in:
@@ -258,3 +258,6 @@ var bad57 = /^([^>a]+)*(>|$)/;
|
||||
|
||||
// NOT GOOD
|
||||
var bad58 = /(\n\s*)+$/;
|
||||
|
||||
// GOOD
|
||||
var good26 = /([^\\\]]+)*/
|
||||
Reference in New Issue
Block a user