Skip to content

Regexp.union doesn't escape arguments #297

nex3 opened this Issue May 15, 2010 · 1 comment

1 participant

nex3 commented May 15, 2010


>> Regexp.union("(")
==> /\(/

In Rubinius:

>> Regexp.union("(")
RegexpError: end pattern with unmatched parenthesis: (
   from Regexp#initialize at kernel/common/regexp.rb:82
   from Regexp.union at kernel/common/regexp.rb:126
   from (irb):1
nex3 commented May 15, 2010

Never mind, it appears RVM is still on 1.0.0-rc3 and this is fixed in 1.0.0 proper.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.