use greedy regular expressions
Non-greedy regular expressions require extra syntax and usually
have a specific purpose for their usage. Greedy regular expressions
work fine in all cases currently in this file and are simpler. This
patch changes the regexen to be greedy to make the code more readable.
(credit goes to davidjames for pointing this out)
TEST=Tested by attempting to "repo upload" a non-conforming file.
Reviewed-by: David James <firstname.lastname@example.org>
Commit-Queue: David Hendricks <email@example.com>
Tested-by: David Hendricks <firstname.lastname@example.org>
1 file changed