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
Return line no in SyntaxError when parsing Regexp #4056
Return line number the way Ruby does:
Does not follow the general SyntaxError fashion with a line number for Regex parse errors:
We parse user provided Ruby code via eval and extract line numbers from errors to report back.