4 ms·
Ruby used Oniguruma (and now Onigmo) for RegEx https://github.com/k-takata/Onigmo https://github.com/k-takata/Onigmo
by MadcapJake 9y ago
Ruby used Oniguruma (and now Onigmo) for RegEx https://github.com/k-takata/Onigmo https://github.com/k-takata/Onigmo
- cutler 9y agoAs far as I can make out these regex engines are very close to Perl5.
- dragonwriter 9y agoYes (well, for MRI at least; I'm not sure other implemebtations use the same regex engine) and it used a different regex engine before Oniguruma. But engines and syntax are unrelated; Ruby has a dedicated regex literal syntax which was directly inspired by Perl.