A JavaScript package that provides a regular expression to match any full Unicode character, including characters in unusual or “weird” ranges. It is useful for correctly splitting strings by character, such as matching full emojis rather than partial code units.
Project status
- Maintenance status: The repository appears effectively dormant, with the latest recorded update on 2024-11-20, which is nearly two years ago relative to 2026-08-12.
- Update cadence: Updates are sparse, with a long gap between v2.0.0 (2021-06-04), v2.0.1 (2022-02-15), and v2.0.2 (2024-11-20).
AI summary generated
Recent updates
v2.0.2
v2.0.2 is a small patch release focused on regex correctness, including a specific fix for Telugu regex handling. The code diff also shows non-runtime changes to CI tooling and test fixtures.
v2.0.1
v2.0.1 updates `char-regex` to recognize composite Telugu character sequences as single “full characters” when used for string segmentation. The release notes mention Telugu support, and the actual code change adds a dedicated Telugu regex alternative into the main exported `charRegex()` pattern.
Featuresv2.0.0
v2.0.0 is primarily a compatibility update. The main developer-facing change is an increased minimum Node.js version requirement.
Breaking