mirror of
https://github.com/github/codeql.git
synced 2026-01-30 06:42:57 +01:00
Inspired by js/useless-regexp-character-escape, but much much simpler because the Go source code parser forbids unrecognised escapes and its regex engine refuses to compile \\x where x is not a character class or other special token (e.g. start-of-word).