Right now regular expression bodies are not validated (in both dev and es5) and are stored as a string. While this might be okay for some uses, it would be better if we had a grammar for regexps in the AST and parsed and validated regexps. Shouldn't be hard, just would take some time and diligence. Any takers?
Right now regular expression bodies are not validated (in both dev and es5) and are stored as a string. While this might be okay for some uses, it would be better if we had a grammar for regexps in the AST and parsed and validated regexps. Shouldn't be hard, just would take some time and diligence. Any takers?