Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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

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?

    --ZZamboni

      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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://87577]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (9)
As of 2016-12-05 09:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (75 votes). Check out past polls.