1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-26 05:59:43 +02:00

boom/dist/dk/dk-catq.pl: category regexp was mis-designed and it had a typo.

This commit is contained in:
Werner Almesberger 2010-10-16 23:37:32 -03:00
parent 20517e107e
commit 310e8866bc

View File

@ -57,7 +57,7 @@ $url = $URL.$key;
if ($q[1] =~ /<title>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;