fix now that things are packed

This commit is contained in:
Doug Bell 2009-04-30 19:37:13 +00:00
parent c60db6b1be
commit 3574113645

View file

@ -175,8 +175,8 @@ sub simpleHTMLParser {
sub simpleTextParser {
my ($text) = @_;
my ($url) = $text =~ /^HREF=(.+)$/m;
my ($label) = $text =~ /^LABEL=(.+)$/m;
my ($url) = $text =~ /HREF=(.+?)(LABEL|\Z)/;
my ($label) = $text =~ /LABEL=(.+?)(HREF|\Z)/;
return ($url, $label);
}