highlighting PERL code with enscript
Stefan Moessler
moessler at getemed.de
Mon Oct 20 02:46:25 PDT 2003
Hi,
i'm using cvsweb-2.9.1 with cygwin+apache2. Highlighting does not work for
filenames ending with *.pl . I think there is a problem with the regex for
filename matching of perl-programs in cvsweb.conf ($FreeBSD:
projects/cvsweb/cvsweb.conf,v 1.62 2003/10/09 20:14:11 scop Exp $). The
actual line in cvsweb.conf(596) is:
%enscript_types =
...
'perl' => qr/\.p(m|(er?)l)$/io,
...
);
i changed this line into
'perl' => qr/\.(pl|pm|cgi)$/io,
and now it woks!
--
stefan moessler
More information about the freebsd-cvsweb
mailing list