You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that Regexp.new(...) raises a slightly different RegexpError exception message when it cannot parse the regular expression. This causes certain tests that check the exception message to fail when ran under TruffleRuby.
Steps To Reproduce
Regexp.new('[abc')
CRuby
premature end of char-class: /[abc/ (RegexpError)
TruffleRuby
premature end of char-class (org.joni.exception.SyntaxException): /[abc/ (RegexpError)