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?
|
---|
In Section
Seekers of Perl Wisdom
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?
|
---|