diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1999-04-09 18:04:08 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1999-04-09 18:04:08 +0000 |
commit | 178a2f7064af173ed2b223b9a1c70e77dd016e49 (patch) | |
tree | 16c6920c4e3a7a6abb9144fdd1c91ee166a7bbba /re.c | |
parent | 529bc6166cb3e6083678c278d8a871e803420804 (diff) |
*** empty log message ***
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 're.c')
-rw-r--r-- | re.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -722,7 +722,7 @@ reg_match(re, str) str = str_to_str(str); start = reg_search(re, str, 0, 0); if (start >= 0) return INT2FIX(start); - return Qnil; + return FALSE; } VALUE @@ -735,7 +735,7 @@ reg_match2(re) if (TYPE(line) != T_STRING) return Qnil; start = reg_search(re, line, 0, 0); if (start >= 0) return INT2FIX(start); - return Qnil; + return FALSE; } static VALUE |