Oniguruma

Oniguruma
Original author(s)K. Kosako 
Initial release25 February 2002 
Stable release
6.9.10  / 1 January 2025 (1 January 2025)
Repository
Written inC 
Operating systemCross-platform
Typeregular expression library
License2-clause BSD License 

Oniguruma (鬼車) is a free and open-source regular expression library that supports a variety of character encodings, written by K. Kosako. The Ruby programming language, in version 1.9, as well as PHP's multi-byte string module (since PHP5), use Oniguruma as their regular expression engine. It is also used in products such as Atom, EDK2 UEFI, GyazMail, Take Command Console, Tera Term, TextMate, SubEthaEdit and jq.

As of April 26, 2025, development of Oniguruma was stopped and the project was archived.

There used to be also a fork of Oniguruma called "Onigmo" (Oniguruma-mod) which includes some features introduced in Perl 5.10+. Ruby switched to it in version 2.0 and features have been backported from Ruby to Onigmo. Take Command Console from version 20 to version 32 used to Onigmo. Take Command switched back to Oniguruma in version 33 as Onigmo is no longer being updated.