summaryrefslogtreecommitdiffstats
path: root/debian/vendor-h2o/deps/mruby-onig-regexp/README.md
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 21:12:02 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 21:12:02 +0000
commit77e50caaf2ef81cd91075cf836fed0e75718ffb4 (patch)
tree53b7b411290b63192fc9e924a3b6b65cdf67e9d0 /debian/vendor-h2o/deps/mruby-onig-regexp/README.md
parentAdding upstream version 1.8.3. (diff)
downloaddnsdist-77e50caaf2ef81cd91075cf836fed0e75718ffb4.tar.xz
dnsdist-77e50caaf2ef81cd91075cf836fed0e75718ffb4.zip
Adding debian version 1.8.3-2.debian/1.8.3-2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/vendor-h2o/deps/mruby-onig-regexp/README.md')
-rw-r--r--debian/vendor-h2o/deps/mruby-onig-regexp/README.md45
1 files changed, 45 insertions, 0 deletions
diff --git a/debian/vendor-h2o/deps/mruby-onig-regexp/README.md b/debian/vendor-h2o/deps/mruby-onig-regexp/README.md
new file mode 100644
index 0000000..41eada4
--- /dev/null
+++ b/debian/vendor-h2o/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 <kentkt AT csc DOT jp>
+ Oniguruma ---- (C) K.Kosako <sndgk393 AT ybb DOT ne DOT jp>
+
+## Author
+
+Yasuhiro Matsumoto (a.k.a mattn)