commit b4cad1a071a724a9b6fa932681a221b1bfadb3b2 parent bbcaa098531f036c2f8d885d0411dc0d9c10f7bb Author: Kyle Milz <kyle@getaddrinfo.net> Date: Mon, 3 Nov 2014 22:11:36 -0700 price_scraper: clarify error message Diffstat:
M | price_scraper.pl | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/price_scraper.pl b/price_scraper.pl @@ -70,7 +70,7 @@ for (sort keys $cfg->{vendors}) { my @prices = ($price =~ m/(\d[\d,]+)/); if (@prices != 1) { - msg("r", "error: too many regex matches: " . @prices); + msg("r", "error: not exactly one regex match: " . @prices); next; }