# mruby-onig-regexp **Repository Path**: mirrors_MakeNowJust/mruby-onig-regexp ## Basic Information - **Project Name**: mruby-onig-regexp - **Description**: mrbgem of 鬼雲's Regular Expression - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-25 - **Last Updated**: 2026-05-31 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # mruby-onig-regexp [![Build Status](https://travis-ci.org/mattn/mruby-onig-regexp.svg)](https://travis-ci.org/mattn/mruby-onig-regexp) ## install by mrbgems ```ruby MRuby::Build.new do |conf| # ... (snip) ... conf.gem :github => 'mattn/mruby-onig-regexp' end ``` ## Example ```ruby def matchstr(str) reg = Regexp.compile("abc") if reg =~ str then p "match" else p "not match" end end matchstr("abcdef") # => match matchstr("ghijkl") # => not match matchstr("xyzabc") # => match ``` ## License MIT ### License of Onigmo BSD licensed. Onigmo (Oniguruma-mod) -- (C) K.Takata Oniguruma ---- (C) K.Kosako ## Author Yasuhiro Matsumoto (a.k.a mattn)