add some regexp polyfills
0.5.0