AIJavaScript★ 241⑂ 18 forksMIT
mathiasbynens/regexpu
REGEXPU: UNICODE TRANSPILER
Regexpu converts modern Unicode regular expressions ES2015 into ES5‑compatible code. It allows using Unicode properties \p{...} in old browsers without polyfills. Generated code preserves semantics and works everywhere.
// KEY FEATURES
- Transforms Unicode classes \p{L}, \p{N} and others into equivalent ES5‑regular expressions.
- Supports u and y flags, preserving their behavior after transformation.
- Generates readable code with no dependency on external libraries or polyfills.
- Integrates via Babel plugin, Webpack loader or direct CLI call.
New repositories every 30 minutes
REDDYX AI scans GitHub 24/7 and ships the best AI/ML/Web3 projects to Telegram.
Join on Telegram