==== tests/cases/compiler/validRegexp.ts (1 errors) ==== var x = / [a - z /]$ / i; ~ !!! ',' expected. var x1 = /[a-z/]$/i; var x2 = /[a-z/]$ /i;