Modify the PR-matching regexp to know about the new sparc, advocacy,

and alpha categories.
This commit is contained in:
Tim Vanderhoek 2000-05-22 08:52:43 +00:00
parent 148c3147ef
commit e1ed6f3799
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=7226

View file

@ -28,7 +28,7 @@
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
# $FreeBSD: www/en/cgi/cvsweb.cgi,v 1.39 2000/02/19 13:58:12 wosch Exp $
# $FreeBSD: www/en/cgi/cvsweb.cgi,v 1.40 2000/04/19 17:07:09 phantom Exp $
#
@ -330,7 +330,7 @@ sub htmlify {
$string =~ s/>/>/g;
if ($pr) {
$string =~ s!\b((pr[:#]?\s*#?)|((bin|conf|docs|gnu|i386|kern|misc|ports)\/))(\d+)\b!<A HREF=http://www.FreeBSD.org/cgi/query-pr.cgi?pr=\5>$&</A>!ig;
$string =~ s!\b((pr[:#]?\s*#?)|((advocacy|alpha|bin|conf|docs|gnu|i386|kern|misc|ports|sparc)\/))(\d+)\b!<A HREF=http://www.FreeBSD.org/cgi/query-pr.cgi?pr=\5>$&</A>!ig;
}
$string;