Perl Language Support - a first go

1 view
Skip to first unread message

[ice]

unread,
Jan 17, 2008, 4:31:04 PM1/17/08
to syntaxhighlighter
Hi all, I noticed there was no Perl langauge support... so I had a go
at creating my own. Its very rough so please no flames.

Bugs to fix:
-> replaced by html entity value
variables not highlighted even though regex looks valid
more categories for different "keywords" (eg. would be nice for
seperate styles for flow control functions and object-oriented
keywords)

example: http://opticalgarbage.com/sh/

shBrush file:http://opticalgarbage.com/sh/js/shBrushPerl.js

Props to Alex Gorbatchev for the original code.

Regards,
Imran Chaudhry
Reply all
Reply to author
Forward
0 new messages