#1 Regexp is not applied at starting point of intendation

open
nobody
candyFolds (1)
5
2011-12-23
2011-12-23
Ronald
No

The documentation to CandyFolds claims:

"the regular expression tests the line of text on the starting point of the indentation"

However, this is not true. For example, for configuring a "while" Statement in Perl, it is not sufficient to enter as regular expression

while\s*\(

It is necessary to write the regular expression like this:

\s*while\s*\(

I suspect that CandyFolds matches the regexp to the whole line, and not to the part which starts at the intendation.

Discussion