Project

General

Profile

« Previous | Next » 

Revision 334294d0

Added by nobu (Nobuyoshi Nakada) over 10 years ago

date_parse.c: get rid of backtrack explosion

  • ext/date/date_parse.c (parse_time): unset case-insensitive flag
    for [:alpha:], which already implies both cases, to get rid of
    backtrack explosion. [ruby-core:58876] [Bug #9221]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e