On 19-08-2005 17:49, Kumar McMillan wrote:
foldingStartMarker: (^\s*)(def|class)\s+([.a-zA-Z0-9_ b]+)\s*(((.*)))?\s*: foldingEndMarker: ^(?!\s*$)(?!\1\s+.*$)
Note that the \1 in the foldingEnd Marker refers to the first match of the foldingEndMarker pattern, which contains itself... You can't refer to the first pattern of the foldingStartMarker there.
Jeroen.