diff options
-rw-r--r-- | hash.c | 1 | ||||
-rw-r--r-- | parse.y | 3 | ||||
-rw-r--r-- | re.c | 9 |
3 files changed, 13 insertions, 0 deletions
@@ -613,6 +613,7 @@ rb_hash_key(hash, value) return args[1]; } +/* :nodoc: */ static VALUE rb_hash_index(hash, value) VALUE hash, value; @@ -8218,6 +8218,7 @@ parser_new() #ifdef RIPPER_DEBUG extern int rb_is_pointer_to_heap _((VALUE)); +/* :nodoc: */ static VALUE ripper_validate_object(self, x) VALUE self, x; @@ -8696,6 +8697,7 @@ ripper_lineno(self) } #ifdef RIPPER_DEBUG +/* :nodoc: */ static VALUE ripper_assert_Qundef(self, obj, msg) VALUE self, obj, msg; @@ -8707,6 +8709,7 @@ ripper_assert_Qundef(self, obj, msg) return Qnil; } +/* :nodoc: */ static VALUE ripper_value(self, obj) VALUE self, obj; @@ -1530,6 +1530,15 @@ rb_reg_match_pos(re, str, pos) return LONG2FIX(pos); } +/* + * call-seq: + * rxp =~ str => integer or nil + * + * Match---Matches <i>rxp</i> against <i>str</i>. + * + * /at/ =~ "input data" #=> 7 + */ + VALUE rb_reg_match(re, str) VALUE re, str; |