titoBouzout / WordCount

Real-time Word, Char, Line and Page counter, in the status-bar for the document, line or selection. Sublime Text

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

freezes on multiline strip patterns

scoavoux opened this issue · comments

I am trying to ignore a multiline pattern (html-formatted comments). It works fine for the global count. However, whenever I select lines in an ignored pattern, sublime freezes. Here is the regex:

"strip": {
    "markdown" : [
        "<!--(\n?.*?)+-->"
    ]
}
commented

can you please provide an example