Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: Re: List-to-Range generation

by japhy (Canon)
on Jun 11, 2001 at 20:54 UTC ( #87577=note: print w/ replies, xml ) Need Help??

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

Thanks muchly. I'm working on one to change (4,5,6,11,12,13,14,19,20,21) to "4-6,11-4,19-21"

japhy -- Perl and Regex Hacker

Comment on Re: Re: List-to-Range generation
Replies are listed 'Best First'.
Re: Re: Re: List-to-Range generation
by ZZamboni (Curate) on Jun 11, 2001 at 21:06 UTC
    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?


      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 :-)


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://87577]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2015-10-04 12:22 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (102 votes), past polls