From 2cdb6fc9e026339a95a45f4ab2e64dcbeee633ee Mon Sep 17 00:00:00 2001 From: Ceri Davies Date: Wed, 21 May 2003 18:57:10 +0000 Subject: [PATCH] We now have sparc64 and ia64 categories in gnats, so update the regex that searches for possible PR references for urlification. --- en/cgi/query-pr.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en/cgi/query-pr.cgi b/en/cgi/query-pr.cgi index 6e799f5dd5..b1dd74417c 100755 --- a/en/cgi/query-pr.cgi +++ b/en/cgi/query-pr.cgi @@ -1,5 +1,5 @@ #!/usr/bin/perl -T -# $FreeBSD: www/en/cgi/query-pr.cgi,v 1.31 2003/04/10 09:29:21 des Exp $ +# $FreeBSD: www/en/cgi/query-pr.cgi,v 1.32 2003/05/21 18:48:51 ceri Exp $ $ENV{'PATH'} = "/bin:/usr/bin:/usr/sbin:/sbin:/usr/local/bin"; @@ -219,7 +219,7 @@ sub fixline { $line =~ s//>/g; $line =~ s%((http|ftp)://[^\s"\)\>,;]+)%$1%gi; - $line =~ s%(\WPR[:s# \t]+)([a-z386]+\/)?([0-9]+)%$1$2$3%ig; + $line =~ s%(\WPR[:s# \t]+)([a-z3486]+\/)?([0-9]+)%$1$2$3%ig; return &srcref($line); }