From f88a68ca1bf7167d4964947a259cebf7f875fc10 Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" Date: Thu, 14 Dec 2000 17:39:33 +0000 Subject: [PATCH] Fixed problem with ranges in regexps that I dreamt about a few nights ago. git-svn-id: svn://10.0.0.236/trunk@83632 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/duplicates.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/webtools/bugzilla/duplicates.cgi b/mozilla/webtools/bugzilla/duplicates.cgi index a45da6bb2a2..57a5b05dd03 100755 --- a/mozilla/webtools/bugzilla/duplicates.cgi +++ b/mozilla/webtools/bugzilla/duplicates.cgi @@ -62,7 +62,7 @@ else } # Check for changedsince param, and see if it's a positive integer -if (defined(param("changedsince")) && param("changedsince") =~ /^\d{1,4}$/) +if (defined(param("changedsince")) && param("changedsince") =~ /^\d{1-4}$/) { $changedsince = param("changedsince"); } @@ -75,7 +75,7 @@ else $before = &days_ago($changedsince); # check for max rows parameter -if (defined(param("maxrows")) && param("maxrows") =~ /^\d{1,4}$/) +if (defined(param("maxrows")) && param("maxrows") =~ /^\d{1-4}$/) { $maxrows = param("maxrows"); }