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)

BUG=none
TEST=Tested by attempting to "repo upload" a non-conforming file.

Change-Id: Id2034e83b3f5d8b3f19b42f1d660b142e05df9ec
Reviewed-on: https://gerrit.chromium.org/gerrit/42638
Reviewed-by: David James <davidjames@chromium.org>
Commit-Queue: David Hendricks <dhendrix@chromium.org>
Tested-by: David Hendricks <dhendrix@chromium.org>
1 file changed