When using a regex literal in JavaScript, it is / -delimited, for example. /^[az]$/ .
When the slash in this regular expression is included, i.e. /^[az/]$/ , everything works fine - both the IDE syntax syntax and the Firefox and Chrome JS parsers accept it.
Is it a standardized behavior that / does not need to be escaped within the character class or just for a developer-compatible implementation, and therefore does not work in all browsers?
javascript regex
Thiefmaster
source share