General

Profile

dlee (David Lee)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 2 2

Activity

06/19/2019

08:46 PM Ruby Bug #15938: Error thrown undeterministically: `RegexpError: empty range in char class`
Jeremy,
Thank you for the update. We know that Ruby 2.5+ has fixed this issue, but we were hoping the fix could be backported. Do you know if there is any workaround to reliably get Regexp to throw those errors?
Nobuyoshi,
Thank...
dlee (David Lee)
01:30 AM Ruby Bug #15938: Error thrown undeterministically: `RegexpError: empty range in char class`
FYI, these errors are deterministically thrown in ruby versions 2.5+, albeit with a different error message: `unmatched range specifier in char-class`. dlee (David Lee)
01:17 AM Ruby Bug #15938 (Rejected): Error thrown undeterministically: `RegexpError: empty range in char class`
When instantiating a Regexp, we only sometimes see `RegexpError: empty range in char class`.
To reproduce:
`100.times { Regexp.new("^([\\w'+-.%]+@[\\w-.]+\\.[A-Za-z]{2,25})(,[\\w+-.%]+@[\\w-.]+\\.[A-Za-z]{2,4}){0,4}$") }`
usually do...
dlee (David Lee)

09/27/2012

08:24 AM Ruby Bug #7074 (Rejected): OpenSSL::PKey::RSA.new(public_key) fails if public_key doesn't have -----BEGIN PUBLIC KEY-----
=begin
public_key1 = <<KEY
-----BEGIN PUBLIC KEY-----
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCfW7fNVCLBii/Ky/H97w9BAL6H
ifRM9sJkxo1dqCzvYHLk/89OmYMoDJ2+OgHRaoRpP+CSHiTkxQR1G+UbHLiQpZMo
CbcHAN6nDVET5ulgA8xywOAuIEgsJ5CmhWG79rZGq...
dlee (David Lee)

Also available in: Atom