mathiasbynens/regenerate

Generate JavaScript-compatible regular expressions based on a given set of Unicode symbols or code points.

53
/ 100
Established

This tool helps JavaScript developers create regular expressions that correctly handle the full range of Unicode characters, including complex 'astral' symbols. You provide a set of Unicode symbols or code points, and it outputs a JavaScript-compatible regular expression. This is for developers working with internationalized text and needing precise character matching.

375 stars. Used by 2 other packages. No commits in the last 6 months. Available on npm.

Use this if you are a JavaScript developer who needs to build accurate regular expressions that correctly match various Unicode characters, especially those outside the Basic Multilingual Plane.

Not ideal if you primarily work with ASCII characters or don't need fine-grained control over Unicode character sets in your regular expressions.

JavaScript development Unicode Internationalization Regex generation Web development
Stale 6m
Maintenance 0 / 25
Adoption 12 / 25
Maturity 25 / 25
Community 16 / 25

How are scores calculated?

Stars

375

Forks

39

Language

JavaScript

License

MIT

Last pushed

Dec 29, 2021

Commits (30d)

0

Reverse dependents

2

Get this data via API

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

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