Menu

Code folding and bracket matching after #

Help
2004-10-15
2013-05-20
  • Heiko Müller

    Heiko Müller - 2004-10-15

    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

     
    • LeO

      LeO - 2004-10-19

      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

       

Log in to post a comment.

MongoDB Logo MongoDB