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
Darwin 14.5.0 Darwin Kernel Version 14.5.0: Sun Jun 4 21:40:08 PDT 2017; root:xnu-2782.70.3~1/RELEASE_X86_64 x86_64
Helper method
"#{c1}....#{c2}........" is a random string, which used to be an english sentence but most of the characters were replaced with dots. However the issue is not raised if C1 and C2 are dots ..
The arg 'string' was generated randomly but it only raises an Exception in certain conditions which are unknown
defjruby_scan_error(string)('a'..'z').to_a.eachdo |c1|
('a'..'z').to_a.eachdo |c2|
begin# Downcase is necessary to raise the issuestring.downcase.scan("#{c1}....#{c2}........")rescueException=>eputs"c1: #{c1}\tc2: #{c2}\tError: #{e.class}:#{e.message}"endendendend
Environment
Helper method
"#{c1}....#{c2}........" is a random string, which used to be an english sentence but most of the characters were replaced with dots. However the issue is not raised if C1 and C2 are dots
.
.The arg 'string' was generated randomly but it only raises an Exception in certain conditions which are unknown
Expected Behavior
Actual Behavior
Backtrace
The text was updated successfully, but these errors were encountered: