Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Re: Re: List-to-Range generation

by ZZamboni (Curate)
on Jun 11, 2001 at 21:06 UTC ( #87582=note: print w/replies, xml ) Need Help??


in reply to Re: Re: List-to-Range generation
in thread List-to-Range generation

I assume you meant "4-6,11-14,19-21"? If so, that's what this one does, isn't it? What am I missing?

--ZZamboni

Replies are listed 'Best First'.
Re: Re: Re: Re: List-to-Range generation
by japhy (Canon) on Jun 11, 2001 at 21:18 UTC
    Your assumption is wrong. Have you never seen ranges like "read pages 121-3"?

    japhy -- Perl and Regex Hacker
      It would be an improvement if you were to state that that is how it works in the root node. It is not obvious, and your oblique hint is a little far down the thread!
      Ah, I see what you mean now :-)

      --ZZamboni