We now have sparc64 and ia64 categories in gnats, so update the regex that
searches for possible PR references for urlification.
This commit is contained in:
parent
a666faaa33
commit
2cdb6fc9e0
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=17039
1 changed files with 2 additions and 2 deletions
|
@ -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/>/>/g;
|
||||
$line =~ s%((http|ftp)://[^\s"\)\>,;]+)%<A HREF="$1">$1</A>%gi;
|
||||
$line =~ s%(\WPR[:s# \t]+)([a-z386]+\/)?([0-9]+)%$1<A HREF="query-pr.cgi?pr=$3">$2$3</A>%ig;
|
||||
$line =~ s%(\WPR[:s# \t]+)([a-z3486]+\/)?([0-9]+)%$1<A HREF="query-pr.cgi?pr=$3">$2$3</A>%ig;
|
||||
|
||||
return &srcref($line);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue