On 05/10/2005, at 15.55, Gavin Kistner wrote: > Out of curiosity, why doesn't this work (latest version of TextMate): > foldingStartMarker = '^\s*#.+\n(?=\s*#)'; > foldingStopMarker = '^\s*#.+\n(?!\s*#)'; The patterns are only matched against a single line.