JS: Update OK-style comments to $-style

This commit is contained in:
Asger F
2025-02-06 13:34:01 +01:00
parent 7e5c24a8ec
commit 9be041e27d
536 changed files with 4408 additions and 4762 deletions

View File

@@ -1,38 +1,33 @@
// NOT OK
/\[^(.css$)]/;
/\[^(.css$)]/; // $ Alert
// OK
/a(b$|c)/;
// OK
/(a|b$)c*/;
// NOT OK
/a$\nb/;
/a$\nb/; // $ Alert
// OK
/a$\nb/m;
// NOT OK, but not recognised
/a$\\nb/m;
/a$\\nb/m; // $ MISSING: Alert
/a$b*c/; // $ Alert
// NOT OK
/a$b*c/;
// OK
/^(^y|^z)(u$|v$)$/;
// OK
/.*x$$$/;
// OK
/x$y*/;
// OK
/x(?!y+$).*y.*/;
// OK
/x(?=[yz]+$).*yz.*/;
// NOT OK
/(?<=$x)yz/;
/(?<=$x)yz/; // $ Alert