Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1015191]
help
Chatterbox?
[james28909]: is this acceptable? Re: Iterate multiple arrays with added text
[james28909]: wooo im a 1337 hax0r!!!1!1

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (9)
As of 2017-05-23 22:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?