mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-26 13:06:15 +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</) {
|
if ($q[1] =~ /<title>Digi-Key</) {
|
||||||
undef $found;
|
undef $found;
|
||||||
for (@q) {
|
for (@q) {
|
||||||
next unless /Cat=(\d+)[&"].*?>\s*([^,]*?)\s*</;
|
next unless /Cat=(\d+)[&"].*?>\s*(.*?)\s*[(<]/;
|
||||||
next if $2 ne $cat;
|
next if $2 ne $cat;
|
||||||
$found = $1;
|
$found = $1;
|
||||||
last;
|
last;
|
||||||
|
Loading…
Reference in New Issue
Block a user