A fast and consistent regular expression library supporting multiple programming languages, including Ruby, with strong Unicode support.
Oniguruma is an open source regular expression library started in 2002 by K.Kosako for use in Ruby. It has since been ported to many other programming languages thanks to its speed, consistency of behavior across languages, and Unicode support.
Some key features of Oniguruma include:
Originally written in C for high performance, Oniguruma is now available for use in Ruby, PHP, Python, Perl, Java, and more. It continues to be maintained and developed as an open source project. Key applications using Oniguruma for its regular expression needs include Ruby on Rails web frameworks, GitHub's linguist library, and text editors like VSCode and Sublime Text.
For its combination of high speed, Unicode support, consistency, and breadth of language availability, Oniguruma stands out as a versatile regular expressions library well suited for demanding applications needing complex text processing across multiple languages.
Here are some alternatives to Oniguruma:
Suggest an alternative ❐