From 310e8866bc758e5029c75850b81a3db65dc53b6f Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Sat, 16 Oct 2010 23:37:32 -0300 Subject: [PATCH] boom/dist/dk/dk-catq.pl: category regexp was mis-designed and it had a typo. --- boom/dist/dk/dk-catq.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boom/dist/dk/dk-catq.pl b/boom/dist/dk/dk-catq.pl index f97bd2c..b3624ee 100755 --- a/boom/dist/dk/dk-catq.pl +++ b/boom/dist/dk/dk-catq.pl @@ -57,7 +57,7 @@ $url = $URL.$key; if ($q[1] =~ /Digi-Key</) { undef $found; for (@q) { - next unless /Cat=(\d+)[&"].*?>\s*([^,]*?)\s*</; + next unless /Cat=(\d+)[&"].*?>\s*(.*?)\s*[(<]/; next if $2 ne $cat; $found = $1; last;