From 4365377d76020c5cacf03a35989f370d05f5780a Mon Sep 17 00:00:00 2001 From: matz Date: Mon, 3 Sep 2001 05:29:19 +0000 Subject: * io.c (rb_io_popen): accept integer flags as mode. * file.c (rb_find_file_ext): extension table can be supplied from outside. renamed. * eval.c (rb_f_require): replace rb_find_file_noext by rb_find_file_ext. * eval.c (rb_provided): should also check feature without extension. * numeric.c (flo_to_s): do not rely on decimal point to be '.' * parse.y (yylex): ternary ? can be followed by newline. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- regex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'regex.c') diff --git a/regex.c b/regex.c index 0b8f56454e..1be2c2f890 100644 --- a/regex.c +++ b/regex.c @@ -4176,7 +4176,7 @@ re_match(bufp, string_arg, size, pos, regs) if (IS_A_LETTER(d)) break; else goto fail; } - if (AT_STRINGS_BEG(d)) { + if (AT_STRINGS_END(d)) { if (PREV_IS_A_LETTER(d)) break; else goto fail; } -- cgit v1.2.3