diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-02-28 05:32:56 -0800 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-02-28 05:32:56 -0800 |
| commit | f586dff5afa35ddbdce30c028afaeb27ad4de697 (patch) | |
| tree | 171f0accb78acd82b7d7b2d645bab5442cb3f9c9 /src/re.c | |
| parent | a440259033be37f8a08359bb5a05d29f77d23619 (diff) | |
| parent | 473abbd0ff7c32f449f4d20ec04adebf951c4edf (diff) | |
| download | mruby-f586dff5afa35ddbdce30c028afaeb27ad4de697.tar.gz mruby-f586dff5afa35ddbdce30c028afaeb27ad4de697.zip | |
Merge pull request #909 from mattn/cleanup_regexp
Cleanup Regexp codes
Diffstat (limited to 'src/re.c')
| -rw-r--r-- | src/re.c | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/src/re.c b/src/re.c deleted file mode 100644 index 744732e58..000000000 --- a/src/re.c +++ /dev/null @@ -1,42 +0,0 @@ -/* -** re.c - Regexp class -** -** See Copyright Notice in mruby.h -*/ - -#include "mruby.h" -#include <string.h> -#include "mruby/string.h" -#include "re.h" -#include "mruby/array.h" -#include "mruby/class.h" -#include "error.h" - -/* - * Document-class: RegexpError - * - * Raised when given an invalid regexp expression. - * - * Regexp.new("?") - * - * <em>raises the exception:</em> - * - * RegexpError: target of repeat operator is not specified: /?/ - */ - -/* - * Document-class: Regexp - * - * A <code>Regexp</code> holds a regular expression, used to match a pattern - * against strings. Regexps are created using the <code>/.../</code> and - * <code>%r{...}</code> literals, and by the <code>Regexp::new</code> - * constructor. - * - * :include: doc/re.rdoc - */ - -void -mrb_init_regexp(mrb_state *mrb) -{ - //mrb_define_class(mrb, REGEXP_CLASS, mrb->object_class); -} |
