Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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?
[Corion]: Mwahahaha - it looks as if $work will soonish be looking for a programmer (not to be employed by IT) to maintain some code, partly by me. Maybe even in Perl.
[Corion]: The sad thing is (I guess) the pay won't be that great (at least for the people I know), and working as a programmer not in IT isn't a great position to be in...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (7)
As of 2018-05-24 15:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?