Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: New to perl and regex

by rovf (Priest)
on Nov 19, 2012 at 09:18 UTC ( #1004493=note: print w/replies, xml ) Need Help??


in reply to Re: New to perl and regex
in thread New to perl and regex

I think it can be made even simpler than that:

/[A-Za-z\s]+\s-?\d\d?/

-- 
Ronald Fischer <ynnor@mm.st>

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1004493]
help
Chatterbox?
[reisinge]: 'push @foo, @bar' is the same as '@foo = (@foo ,@bar)' ?
[shmem]: yes, at least for the result in @foo
[shmem]: but the results of both operations are different.

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (9)
As of 2017-04-27 11:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (503 votes). Check out past polls.