mathiasbynens/regexpu

A source code transpiler that enables the use of ES2015 Unicode regular expressions in ES5.

48
/ 100
Emerging

This tool helps JavaScript developers write regular expressions that correctly handle all kinds of Unicode characters, including emojis and less common symbols. It takes your modern JavaScript code with advanced Unicode regular expressions and converts it into older JavaScript (ES5) that can run in more environments. The primary users are JavaScript developers who need to ensure their string matching works flawlessly across diverse character sets without breaking compatibility with older JavaScript engines.

240 stars. No commits in the last 6 months. Available on npm.

Use this if you are a JavaScript developer who needs to use advanced Unicode regular expressions (with the 'u' flag) in your code but must maintain compatibility with older JavaScript environments (ES5).

Not ideal if you only need to match basic ASCII characters, or if your project exclusively targets modern JavaScript environments that fully support ES2015+ Unicode regular expressions natively.

JavaScript development web development code transpilation Unicode handling cross-browser compatibility
Stale 6m
Maintenance 0 / 25
Adoption 10 / 25
Maturity 25 / 25
Community 13 / 25

How are scores calculated?

Stars

240

Forks

19

Language

JavaScript

License

MIT

Last pushed

Sep 18, 2024

Commits (30d)

0

Dependencies

3

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/mathiasbynens/regexpu"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.