Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mruby
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
mruby
Commits
f586dff5
Commit
f586dff5
authored
Feb 28, 2013
by
Yukihiro "Matz" Matsumoto
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #909 from mattn/cleanup_regexp
Cleanup Regexp codes
parents
a4402590
473abbd0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
44 deletions
+0
-44
src/init.c
src/init.c
+0
-2
src/re.c
src/re.c
+0
-42
No files found.
src/init.c
View file @
f586dff5
...
...
@@ -22,7 +22,6 @@ void mrb_init_numeric(mrb_state*);
void
mrb_init_range
(
mrb_state
*
);
void
mrb_init_struct
(
mrb_state
*
);
void
mrb_init_gc
(
mrb_state
*
);
void
mrb_init_regexp
(
mrb_state
*
);
void
mrb_init_print
(
mrb_state
*
);
void
mrb_init_math
(
mrb_state
*
);
void
mrb_init_mrblib
(
mrb_state
*
);
...
...
@@ -53,7 +52,6 @@ mrb_init_core(mrb_state *mrb)
mrb_init_struct
(
mrb
);
DONE
;
#endif
mrb_init_gc
(
mrb
);
DONE
;
mrb_init_regexp
(
mrb
);
DONE
;
#ifdef ENABLE_STDIO
mrb_init_print
(
mrb
);
DONE
;
#endif
...
...
src/re.c
deleted
100644 → 0
View file @
a4402590
/*
** 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);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment