Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Parses Invalid regular expressions flag #1863
As far as I know, only g, i , m, u, y are allowed as regular expression flags. Esprima allowes everything.
Steps to reproduce
Acorn, Shift and others handle this correctly