mirror of
https://github.com/github/codeql.git
synced 2025-12-22 19:56:32 +01:00
use syntactically correct JS in poly-redos example
This commit is contained in:
@@ -71,7 +71,7 @@
|
||||
</p>
|
||||
|
||||
<sample language="javascript">
|
||||
^0\.\d+E?\d+$ // BAD
|
||||
/^0\.\d+E?\d+$/.test(str) // BAD
|
||||
</sample>
|
||||
|
||||
<p>
|
||||
|
||||
Reference in New Issue
Block a user