mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-22 15:10:38 +02:00
boom/dist/dk/dk-catq.pl: category regexp was mis-designed and it had a typo.
This commit is contained in:
parent
20517e107e
commit
310e8866bc
2
boom/dist/dk/dk-catq.pl
vendored
2
boom/dist/dk/dk-catq.pl
vendored
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user