Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Feb 2004 02:13:02 -0600
From:      Jon Noack <noackjr@alumni.rice.edu>
To:        freebsd-cvsweb@FreeBSD.org
Subject:   Re: [ANNOUNCE] FreeBSD-CVSweb 3.0.0 (stable)
Message-ID:  <403EFC0E.9050805@alumni.rice.edu>
In-Reply-To: <1077825571.6550.35.camel@bobcat.mine.nu>
References:  <1077825571.6550.35.camel@bobcat.mine.nu>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2/26/2004 1:59 PM, Ville Skytt=E4 wrote:
> Ok, here it goes, FreeBSD-CVSweb 3.0.0, the new stable version.  This i=
s
> a very much recommended update for everyone using Perl >=3D 5.6.  For
> those stuck with Perl < 5.6, the old stable version (2.0.6) is still
> available.
>=20
> The only change between 2.9.3 (beta) and this one is a fix for Enscript
> colored side by side diffs when using diffutils < 2.8.

What about the Enscript/Perl syntax highlighting issue?  A recap:
Syntax highlighting does not work for filenames ending with *.pl.  I=20
believe the problem is on line 568 of cvsweb.conf (hand computed from=20
cvsweb.conf from 2.9.3 plus changes).  I'm not an expert on regex, but=20
this line looks to me like it matches .pm, .pel, and .perl (ignoring=20
case).  Shouldn't the '?' be outside the parens:

    'perl'         =3D> qr/\.p(m|(er)?l)$/io,

This should match .pm, .pl, and .perl (ignoring case).  I have verified=20
that this fixes Enscript/Perl highlighting for me.

Jon Noack



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?403EFC0E.9050805>