if ( (!($line =~ /^#/)) && ($line ne "") ) {
# some code
} # end if
This should exclude lines in a file that are commented with '#'.
Unfortunately the opening curly bracket at the end of the first line is not recognized while code folding or bracket matching highlighting because of the '#' in the pattern matching.
Is there a workaround to fix it?
Thanks,
Heiko
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I have a piece of code like this:
if ( (!($line =~ /^#/)) && ($line ne "") ) {
# some code
} # end if
This should exclude lines in a file that are commented with '#'.
Unfortunately the opening curly bracket at the end of the first line is not recognized while code folding or bracket matching highlighting because of the '#' in the pattern matching.
Is there a workaround to fix it?
Thanks,
Heiko
Make a bug out of it. But simply is due to missing reg-exp!
i.e. reg-exp are NOT handled up till noW => make a RFE or Bug