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>
index | next in thread | previous in thread | raw e-mail
On 2/26/2004 1:59 PM, Ville Skyttä wrote:
> Ok, here it goes, FreeBSD-CVSweb 3.0.0, the new stable version. This is
> a very much recommended update for everyone using Perl >= 5.6. For
> those stuck with Perl < 5.6, the old stable version (2.0.6) is still
> available.
>
> 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
believe the problem is on line 568 of cvsweb.conf (hand computed from
cvsweb.conf from 2.9.3 plus changes). I'm not an expert on regex, but
this line looks to me like it matches .pm, .pel, and .perl (ignoring
case). Shouldn't the '?' be outside the parens:
'perl' => qr/\.p(m|(er)?l)$/io,
This should match .pm, .pl, and .perl (ignoring case). I have verified
that this fixes Enscript/Perl highlighting for me.
Jon Noack
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?403EFC0E.9050805>
