Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Need a regex..

by Neighbour (Friar)
on May 21, 2012 at 13:34 UTC ( #971612=note: print w/replies, xml ) Need Help??


in reply to Need a regex..

Could you specify whether only one number is entered per line, or if multiple numbers are entered per line, how are they separated?

You can use {n,m} after any matching character/group to specify how often it is allowed to match (minimal n, maximal m). See also QUANTIFIERS.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://971612]
help
Chatterbox?
[ambrus]: holli: wait, plastic or glass bottle?
holli switches OS
[holli]: Lidl only sells plastic
[Corion]: holli: Oooh, a twister top - so yes, that's a worse state of mind than it sounded ;)
[holli]: and since I outed myself anyway as a horrible person, to top it off, the bottle contains beer. alcohol free beer
[Discipulus]: nowaday such beers have also a good taste
[Corion]: holli: Heh - if you consider alcohol free beer as a not-so-sweet lemonade, you're not that bad off ;)
[holli]: actually, that's exactly how i look at it.

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (16)
As of 2017-09-25 12:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (280 votes). Check out past polls.

    Notices?