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.

Change-Id: Id2034e83b3f5d8b3f19b42f1d660b142e05df9ec
Reviewed-by: David James <>
Commit-Queue: David Hendricks <>
Tested-by: David Hendricks <>
1 file changed