can anyone explain why this definition in the perl language bundle includes the newline as part of the comment?
line_comment = { name = 'comment.line.number-sign.perl'; match = '#.*$\n?'; };
it causes weird things in the mason bundle i use, where if a line of perl includes a comment, textmate assumes the following line is also perl, when it frequently is not.
% if ( $something ) { # something is up <p>hi, something is up!</p> textmate thinks this line is perl and the syntax highlighting is wrong % }
if i want to change the line_comment pattern, but not miss any future updates that might come with the perl bundle, what is the right way to go about it?
--- michael reece :: software engineer :: mreece@vinq.com