SystemStackError with example
lewtds opened this issue · 1 comments
I'm on Fedora 20, Ruby 2.0.0p247, pry 0.9.12.3 (from gem), hexpress 1.2.0 (from gem) and this example fails:
protocol = exp.start("http").maybe("s").with("://")
tld = exp.then(".").either("org", "com", "net")
link = exp.has(protocol).find { words }.including(tld)
exp.to_r
with this message:
SystemStackError: stack level too deep
from /usr/local/share/gems/gems/pry-0.9.12.3/lib/pry/pry_instance.rb:328
I'll get a test up for this, and see about fixing it tonight. My first
thought is the has(protocol)
.
On Sun, Nov 17, 2013 at 6:28 PM, Trung Ngo notifications@github.com wrote:
I'm on Fedora 20, Ruby 2.0.0p247, pry 0.9.12.3 (from gem), hexpress 1.2.0
(from gem) and this example fails:protocol = exp.start("http").maybe("s").with("://")
tld = exp.then(".").either("org", "com", "net")
link = exp.has(protocol).find { words }.including(tld)
exp.to_rwith this message:
SystemStackError: stack level too deep
from /usr/local/share/gems/gems/pry-0.9.12.3/lib/pry/pry_instance.rb:328—
Reply to this email directly or view it on GitHubhttps://github.com//issues/9
.
Kurtis Rainbolt-Greene, Hacker
Software Developer
612 S. Flower St.
Los Angeles, CA, 90017