mrbgem of 鬼雲's Regular Expression
C Ruby
Latest commit be2ed0d Mar 24, 2017 @mattn committed on GitHub Merge pull request #64 from ksss/segv
Fix segmentation fault
Permalink
Failed to load latest commit information.
mrblib Support Kernel#=~ Aug 19, 2016
src
test Fix segmentation fault Mar 24, 2017
.travis.yml bundle Onigmo-6.1.1 Mar 3, 2017
.travis_config.rb do test in travis-ci Sep 15, 2015
Onigmo-6.1.1.tar.gz bundle Onigmo-6.1.1 Mar 3, 2017
README.md Merge pull request #29 from take-cheeze/bundle_onigmo Sep 8, 2015
mrbgem.rake Always set compile option Mar 20, 2017

README.md

mruby-onig-regexp

Build Status

install by mrbgems

MRuby::Build.new do |conf|

    # ... (snip) ...

    conf.gem :github => 'mattn/mruby-onig-regexp'
end

Example

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 <kentkt AT csc DOT jp>
Oniguruma  ----   (C) K.Kosako <sndgk393 AT ybb DOT ne DOT jp>

Author

Yasuhiro Matsumoto (a.k.a mattn)