Created
August 22, 2013 03:15
-
-
Save y-yu/6302822 to your computer and use it in GitHub Desktop.
Rubyの改造(3)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18a19,20 | |
> #include "relex.c" | |
> #include "re_parse.c" | |
3545a3548,3554 | |
> static VALUE | |
> rb_reg_parse (VALUE re) | |
> { | |
> re_parse( RREGEXP_SRC_PTR(re) ); | |
> return re; | |
> } | |
> | |
3584a3594 | |
> rb_define_method(rb_cRegexp, "parse", rb_reg_parse, 0); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment