Regular expressions are written in a terse and cryptic notation. JSLint looks for problems that may cause portability problems. It also attempts to resolve visual ambiguities by recommending explicit escapement.
/ character. To avoid ambiguity, JSLint expects that
the character preceding a regular expression literal is a