Perl - and I presume other languages - allow for custom delimiters when specifying regular expressions.
Currently the syntax highlighting is fine with:
if ( $line =~ m/some text/ ) { print $line; }
But it doesn't work with;
if ( $line =~ m,some text, ) { print $line; }
e.g: (because it doesn't seem to apply at all on meta!):
counting instances between two tags
I know it's pretty minor. But it'd be nice.
<!-- language: lang-perl -->
in front of the code blocks to enable syntax highlighting so that we may see it?my $size = $#array + 1;
(everything after the#
is treated as a comment). And as you well know, only perl can parse Perl :)whatever / 25 ; # / ; die "this dies!";
is particularly problematic depending on if you havesub whatever() {};
orsub whatever {};