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 reply to Re: Regex, query
by SuicideJunkie
in thread Regex, query
by dmsparts
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |