mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 13:34:17 +02:00
* variable.c (rb_set_class_path): do not set path if
* lib/cgi.rb (CGI::QueryExtension): give extended string, not a delegater object. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8e877fc517
commit
22c005569b
11 changed files with 196 additions and 115 deletions
3
regex.c
3
regex.c
|
@ -2181,6 +2181,7 @@ re_compile_pattern(pattern, size, bufp)
|
|||
|
||||
unfetch_interval:
|
||||
/* If an invalid interval, match the characters as literals. */
|
||||
re_warning("regexp has invalid interval");
|
||||
p = beg_interval;
|
||||
beg_interval = 0;
|
||||
|
||||
|
@ -2363,6 +2364,8 @@ re_compile_pattern(pattern, size, bufp)
|
|||
default:
|
||||
if (c == ']')
|
||||
re_warning("regexp has `]' without escape");
|
||||
else if (c == '}')
|
||||
re_warning("regexp has `}' without escape");
|
||||
normal_char: /* Expects the character in `c'. */
|
||||
had_mbchar = 0;
|
||||
if (ismbchar(c)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue