[TxMt] regexp for matching } in foldingStopMarker

Tomas Pihl tomas at pihl.org
Sun Jan 1 22:38:04 UTC 2006


I'm trying to match a curly bracket in a foldingStopMarker but I  
can't for my life get it to work. The startmarker works but not the  
stopmarker. Eg.

works {
   hello
}

doesntwork {
   hello
     }

My language is defined as:

foldingStartMarker = '\{\s*$';
foldingStopMarker = '^\s*\}';

/Tomas



More information about the textmate mailing list