3.13. Ruby and Oniguruma
Ruby’s new regular expression engine is code-named Oniguruma, a Japanese name meaning roughly ghost wheel or demon wheel. (It is commonly misspelled by non-Japanese; remember you can’t spell Oniguruma without “guru.”)
The new engine offers several benefits over the old one. Notably, it handles internationalized strings better, and it adds some powerful features to Ruby’s regular expressions. Additionally, it is offered under a less restrictive license, comparable to the rest of Ruby. As this book is being written, Oniguruma is not yet fully integrated into the standard distribution.
The next section deals with detecting the presence of the Oniguruma engine. The section after that outlines how to build it if you don’t ...