Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Re: List-to-Range generation

by japhy (Canon)
on Jun 11, 2001 at 20:54 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://87577]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2024-03-28 11:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found