summaryrefslogtreecommitdiffhomepage
path: root/src/re.c
diff options
context:
space:
mode:
authormattn <[email protected]>2013-03-01 14:42:42 +0900
committermattn <[email protected]>2013-03-01 14:42:42 +0900
commit261efd8e9dc3bdaf4438797a9cdb34f7792a5639 (patch)
tree2a3b8b19d045089479fbfcece1e1318f17c32223 /src/re.c
parent4c4cf0a4ce738fde01a047194b52a5389b400e89 (diff)
parent138ecf4723078cf8ef4342fb3995db23003eff01 (diff)
downloadmruby-261efd8e9dc3bdaf4438797a9cdb34f7792a5639.tar.gz
mruby-261efd8e9dc3bdaf4438797a9cdb34f7792a5639.zip
Merge branch 'master' into pluggable_struct
Diffstat (limited to 'src/re.c')
-rw-r--r--src/re.c42
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);
-}