diff options
Diffstat (limited to 'web/server/h2o/libh2o/deps/mruby-onig-regexp/README.md')
-rw-r--r-- | web/server/h2o/libh2o/deps/mruby-onig-regexp/README.md | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/web/server/h2o/libh2o/deps/mruby-onig-regexp/README.md b/web/server/h2o/libh2o/deps/mruby-onig-regexp/README.md deleted file mode 100644 index 41eada48f..000000000 --- a/web/server/h2o/libh2o/deps/mruby-onig-regexp/README.md +++ /dev/null @@ -1,45 +0,0 @@ -# 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 <kentkt AT csc DOT jp> - Oniguruma ---- (C) K.Kosako <sndgk393 AT ybb DOT ne DOT jp> - -## Author - -Yasuhiro Matsumoto (a.k.a mattn) |