X-Git-Url: http://dolda2000.com/gitweb/?p=utils.git;a=blobdiff_plain;f=ANN.pm;h=6dd02e94fc951f0b1773cf7f5131f6ecf3359386;hp=f10e86921f778655e2cc9935242da2beb0c2bde9;hb=8b09dc89e6081cfc76fee513be8dac9e39b6305f;hpb=bbf05fd42f2da4128489460994e60a2fdc08f06a diff --git a/ANN.pm b/ANN.pm index f10e869..6dd02e9 100644 --- a/ANN.pm +++ b/ANN.pm @@ -58,7 +58,7 @@ sub getlist # The only way to recognize entries that seems sure is to look # after the "HOVERLINE" class. - while($html =~ /]*>(]*>)?(\.*\<\/small\>)?\s*([^<]+)<\//ig) { + while($html =~ /]*>(]*>)?([^<]*<\/small>)?\s*([^<]+)<\//ig) { if((substr "" . lc $4 , 0, length $name) eq lc $name) { push @ret, $4; } @@ -83,7 +83,7 @@ sub getid # The only way to recognize entries that seems sure is to look # after the "HOVERLINE" class. - while($html =~ /]*>(]*>)?(\.*\<\/small\>)?\s*([^<]+)<\//ig) { + while($html =~ /]*>(]*>)?([^<]*<\/small>)?\s*([^<]+)<\//ig) { if((substr "" . lc $4 , 0, length $name) eq lc $name) { return ($1 =~ /id=(\d+)$/)[0]; }