#7 PHPParserPlugin 2.0.1 curly brackets in string VS folding

open
nobody
None
5
2012-12-17
2012-12-17
birdspider
No

Hi,,

Minor bug regarding folding detection on php classes when there are closing curly brackets in strings.

[code]
class X {
function bad_bracket() {
1) preg_match("/\}/");
}

2) function x() {

}
}
[/code]

1) causes the fold to fail
2) symptom manifests here

Related

Code: code

Discussion

  • birdspider
    birdspider
    2012-12-17

    screenshot of buggy folding