army8735 / jsdc

Javascript Downcast (es6 to es5)
http://army8735.me/jsdc
93 stars 12 forks source link

Use regexpu for regular expression transpilation #17

Open mathiasbynens opened 10 years ago

mathiasbynens commented 10 years ago

See https://github.com/mathiasbynens/regexpu. You can use this as a dependency for your transpiler to add support for the ES6 /u flag for regular expressions.

(Traceur and 6to5 depend on regexpu as well, FWIW.)

army8735 commented 10 years ago

thx, I will take time to do it

mathiasbynens commented 8 years ago

There is now a separate module for just the regular expression rewriting logic: https://github.com/mathiasbynens/regexpu-core