Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Re: Patterns for your numbers

by bronto (Priest)
on Feb 07, 2003 at 12:50 UTC ( [id://233452]=note: print w/replies, xml ) Need Help??


in reply to Re: Patterns for your numbers
in thread Patterns for your numbers

Thanks for the link, adrianh, it's on my notepad now.

Anyway, as I said in the question, I am not looking for a module, nor I am looking for such a grainlevel control over "numeric strings".

Call it a challenge (if you like): are those patterns ok? Would you write them differently for the sake of {efficiency|compactness|speed|readability|anything}? Would you compact all af them in a unique, catchall regex?

That was the question.

Please, don't feel offended about that: pointers to modules that do the job are useful and I don't despise them. But they are not an answer to the question

Ciao!
--bronto


The very nature of Perl to be like natural language--inconsistant and full of dwim and special cases--makes it impossible to know it all without simply memorizing the documentation (which is not complete or totally correct anyway).
--John M. Dlugosz

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (7)
As of 2024-04-23 12:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found