Oniguruma (鬼車) by K. Kosako is a BSD licensed regular expression library that supports a variety of character encodings. 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.[2] It is also used in products such as Atom[3], EDK2 UEFI[4], GyazMail, Take Command Console, Tera Term, TextMate and SubEthaEdit.

Original author(s)K. Kosako
Initial releaseFebruary 25, 2002 (2002-02-25)
Stable release
6.9.0 / 3 September 2018; 22 months ago (2018-09-03)[1]
Repository Edit this at Wikidata
Written inC
Operating systemCross-platform
Typeregular expression library
LicenseBSD license

There is also a forked Oniguruma version called "Onigmo" (Oniguruma-mod) which includes some features introduced in Perl 5.10+.[5] Ruby since version 2.0 has also switched to it[6] and features have been backported from ruby to Onigmo.

See alsoEdit


  1. ^ "Releases - kkos/oniguruma". Retrieved 6 September 2018 – via GitHub.
  2. ^ "【PHPウォッチ】第6回 PHP5 RC1にPHP4互換モード追加,PHP4.3.5では約140件のバグ修正". IT Pro. Retrieved 2008-02-23.
  3. ^ "Atom Developer Blog: The Nucleus of Atom".
  4. ^ "Oniguruma 6.9.0 in EDK2".
  5. ^ "k-takata / Onigmo - Github". Retrieved 2013-06-13.
  6. ^ "Merge Onigmo to ruby 2.0".

External linksEdit