From 58daab21cd043e1dc37024a7f99b396788372918 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 9 Mar 2024 14:19:48 +0100 Subject: Merging upstream version 1.44.3. Signed-off-by: Daniel Baumann --- .../h2o/libh2o/deps/mruby-onig-regexp/README.md | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 web/server/h2o/libh2o/deps/mruby-onig-regexp/README.md (limited to 'web/server/h2o/libh2o/deps/mruby-onig-regexp/README.md') diff --git a/web/server/h2o/libh2o/deps/mruby-onig-regexp/README.md b/web/server/h2o/libh2o/deps/mruby-onig-regexp/README.md new file mode 100644 index 000000000..41eada48f --- /dev/null +++ b/web/server/h2o/libh2o/deps/mruby-onig-regexp/README.md @@ -0,0 +1,45 @@ +# 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) -- cgit v1.2.3