Project

General

Profile

« Previous | Next » 

Revision 8a8f542c

Added by nobu (Nobuyoshi Nakada) over 7 years ago

re.c: do not escape terminator in Regexp.union

  • re.c (rb_reg_str_with_term): change terminator.

  • re.c (rb_reg_s_union): terminator in source string does not need
    to be escaped. terminators are outside of regexp source itself.
    [ruby-core:86149] [Bug #14608]

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