## Oniguruma

2005/02/19 (C) K.Kosako

Oniguruma is a regular expressions library.
The characteristics of this library is that different character encoding
for every regular expression object can be specified.

Supported character encodings:
ASCII, UTF-8, UTF-16BE, UTF-16LE, UTF-32BE, UTF-32LE,
EUC-JP, EUC-TW, EUC-KR, EUC-CN,
Shift_JIS, Big5, KOI8-R, KOI8,
ISO-8859-1, ISO-8859-2, ISO-8859-3, ISO-8859-4, ISO-8859-5,
ISO-8859-6, ISO-8859-7, ISO-8859-8, ISO-8859-9, ISO-8859-10,
ISO-8859-11, ISO-8859-13, ISO-8859-14, ISO-8859-15, ISO-8859-16

What's new

- Character types(\w, \s, \d and POSIX bracket) were supported in full code point range with the Version 4.0.1 of the Unicode Standard. (since Version 3.5.0)

There are two ways of using of it in this program.

- (1) C library (supported APIs: GNU regex, POSIX and Oniguruma native)
- (2) Built-in regular expressions engine of Ruby 1.6/1.8/1.9
  In Ruby 1.9, Oniguruma is already incorporated by Kazuo Saito.

Platform:

- Unix (include Mac OS X)
- Cygwin
- Win32

License:
When this software is partly used or it is distributed with Ruby, this of Ruby follows the license of Ruby.
It follows the BSD license in the case of the one except for it.
Download:

- Latest release version 3.7.0 (2005/02/19) Change Log
- 3.6.0 (2005/02/04)
- 3.5.4 (2005/01/19)
- Latest release version 2.4.1 (2005/01/05) Change Log
- 2.4.0 (2004/12/01)
- 2.3.3 (2004/10/30)

* 3.X.X supports UTF-16/UTF-32, Ruby 1.9.X.
* 2.X.X does not support UTF-16/UTF-32, supports Ruby 1.6/1.8.
Documents: (version 3.7.0)

- Regular Expressions (Japanese: EUC-JP)
- Oniguruma API (Japanese: EUC-JP)

Sample Programs:

- example of the minimum
- example of the variable syntax and meta character (SQL-like pattern match)

Links:

- Oniguruma in Ruby CVS (old version)
- Oniguruma in RAA (Ruby Application Archive)
- FreeBSD ports
- cnRegex 4D Plugin (Japanese page)
- GHC patch Masahiro Sakai (Japanese Blog)
- GyazMail
- Jedit X
- Lhaz (Japanese page)
- mregexp (Japanese page)
- MultiFind (Japanese page)
- Ochusha (Japanese page)
- OgreKit Regular Expression Framework for Cocoa (Japanese page)
- OnigRegexp (Japanese page)
- Oniguruma / FireBird (Win32)
- Oniguruma-mysqld
- Onigsed (Win32) (Japanese page)
- Japan PHP User Group PHP 5.0 mb_ereg (Japanese page)
- Ruby
- SevenFour (Japanese page)
- TiddlyWikiPod

References:

- Ruby Reference Manual Regexp (Japanese page)
- Perl regular expressions
- java.util.regex.Pattern (J2SE 1.4.2)
- The Open Group
- PCRE
- Regular expressions memo (Japanese page)
- Regular expressions technique (Japanese page)
- Mastering Regular Expressions

and I'm thankful to Akinori MUSHA.