mysticatea / regexpp

The regular expression parser for ECMAScript.
MIT License
153 stars 15 forks source link

hope can allow direct input a regexp #1

Closed bluelovers closed 6 years ago

bluelovers commented 6 years ago

hope can allow direct input a regexp

console.log(parseRegExpLiteral(/aaa/b));
mysticatea commented 6 years ago

Good idea.

Would you like to send a PR?

bluelovers commented 6 years ago

@mysticatea https://github.com/mysticatea/regexpp/pull/2