From caf54aaacbf8846927387298a40ae8cf90c7116f Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Sat, 23 Oct 2010 13:21:59 +0200 Subject: [PATCH] fix number of fix extraction --- Aleph.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Aleph.pm b/Aleph.pm index 3fde6be..0ed5481 100644 --- a/Aleph.pm +++ b/Aleph.pm @@ -86,7 +86,7 @@ diag "submit search $query"; ); my $hits = 0; - if ( $mech->content =~ m{ukupno\s+(\d+).*(do\s+(\d+))}s ) { + if ( $mech->content =~ m{ukupno\s+(\d+).*do\s+(\d+)}s ) { $hits = $1; $hits = $2 if $2 && $2 < $1; # correct for max. results } else { -- 2.20.1