Actions
Bug #8133
closedRegexp macro %r{} is loosing backslash on "\}"
Bug #8133:
Regexp macro %r{} is loosing backslash on "\}"
Description
Hello,
Ruby 2.0.0 is loosing the backslash when used on "}" string (exact match).
How to reproduce in irb:
2.0.0-p0 :003 > %r{}}
=> /}/
2.0.0-p0 :004 > %r{{}
=> /{/
Compared to:
1.9.3p392 :001 > %r{{}
=> /{/
1.9.3p392 :002 > %r{}}
=> /}/
This shouldn't probably happen.
Actions