JGCSCS 4 Perl script *.pl;*.pm JGsoft support@editpadpro.com http://www.editpadpro.com http://www.perl.org TRUE # 0 5 # Perl sub Test { $string = "String $test"; $number = 1234 if $string =~ m/regex/i; } 0 FALSE 15 Brackets Using a different color for curly braces to make them stand out from round and square brackets [{}]+ FALSE FALSE 17 0 0 FALSE Single-quoted string String delimited by single quotes. Quotes can appear in the string if they are escaped with a \ '[^'\\\r\n]*+(?:\\(?:.|$)[^'\\\r\n]*+)*+'? FALSE FALSE 9 0 -1 TRUE Double-quoted string " FALSE TRUE 9 0 4 FALSE Comment Single-line comment starts with # and continues until the end of the line. The # character can also appear in $#variable (?|&!~]++ FALSE FALSE 13 0 0 FALSE 5 ( ) TRUE 3 [ ] TRUE 3 { } TRUE 3 ' ' FALSE 2 " " FALSE 5 3 Interpolated here document 0 9 TRUE 1 Variable Don't forget the negative look-behind (?