mirror of
https://github.com/github/codeql.git
synced 2026-05-03 04:39:29 +02:00
make the character search skip unencodable characters
This commit is contained in:
@@ -272,4 +272,10 @@ var bad60 = /(.thisisagoddamnlongstringforstresstestingthequery|\sthisisagoddamn
|
||||
var bad61 = /(thisisagoddamnlongstringforstresstestingthequery|this\w+query)*-/
|
||||
|
||||
// GOOD
|
||||
var good27 = /(thisisagoddamnlongstringforstresstestingthequery|imanotherbutunrelatedstringcomparedtotheotherstring)*-/
|
||||
var good27 = /(thisisagoddamnlongstringforstresstestingthequery|imanotherbutunrelatedstringcomparedtotheotherstring)*-/
|
||||
|
||||
// GOOD
|
||||
var good28 = /foo([\uDC66\uDC67]|[\uDC68\uDC69])*foo/
|
||||
|
||||
// GOOD
|
||||
var good29 = /foo((\uDC66|\uDC67)|(\uDC68|\uDC69))*foo/
|
||||
Reference in New Issue
Block a user