Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Regex, query

by SuicideJunkie (Vicar)
on Jan 24, 2013 at 15:57 UTC ( #1015191=note: print w/ replies, xml ) Need Help??


in reply to Regex, query

The non-greedy .*? will happily match zero characters and quit if it can.

Why not have it capture the thing you're looking for ([a-z]?[0-9]{6,7}) instead?


Comment on Re: Regex, query
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2015-07-31 04:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (274 votes), past polls