Merge pull request #905 from iij/pr-percent-notation

Regexp: %r notation bug fix.
This commit is contained in:
Yukihiro "Matz" Matsumoto
2013-02-28 05:30:43 -08:00
+1 -1
View File
@@ -4440,7 +4440,7 @@ parser_yylex(parser_state *p)
p->lex_strterm = new_strterm(p, str_regexp, term, paren);
#endif
p->regexp = 1;
p->sterm = '/';
p->sterm = term;
return tREGEXP_BEG;
case 's':