/regex/(string) considered harmful?
In javascript you can match regular expression with regex(string) syntax.

However the syntax isn't very used as far as I know, anybody know why?
/regex/(string) considered harmful?
===

In javascript you can match regular expression with regex(string) syntax.

However the syntax isn't very used as far as I know, anybody know why?