http://qs1969.pair.com?node_id=87582


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