Oniguruma Regular Expression Parser

JSON →
library 0.12.2 ·javascript
verified May 27, 2026

The `oniguruma-parser` library provides a robust TypeScript solution for working with Oniguruma regular expressions, offering functionalities such as parsing, validation, AST traversal, transformation, and optimization. The current stable version is 0.12.2, with minor releases frequently introducing new features like optimizer improvements (v0.12.1), support for new flags (v0.12.0), and quality-of-life enhancements for AST manipulation (v0.10.0). Its primary distinction lies in its deep understanding and accurate representation of the Oniguruma regex engine's specific syntax and semantics, which differs from standard ECMAScript regexes. It is widely utilized and battle-tested in critical projects like `Oniguruma-To-ES` and `tm-grammars`, which process tens of thousands of real-world Oniguruma regexes for tools such as VS Code and Shiki, ensuring high fidelity and reliability for TextMate grammars, Ruby, and PHP environments.

total hits 17
actors 8 distinct systems
last hit 1d ago human
MetaBot
4
GPTBot
2
Script
1
ClaudeBot
1
Search engines
2
Humans
1

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇫🇷 France · 🇬🇧 United Kingdom · 🇩🇪 Germany