It breaks after scrolling up and down couple of times. I'm wondering if this is just happening to me or if anyone else has the same issue, and if there is anyway to fix it.
I have a string as:
preg_match_all("/<img.*?src=.([\/.a-z0-9@:_-]+).*?>/si", $s开发者_JS百科tr);
This is happening to me too in v7.2.330. Not sure you're going to be able to fix it unless you dig into the PHP parser.
Maybe consider filing a bug with VIM?
-tjw
It's as if vim 7.4 has having problems with it's new regex engine. I've come to a quick fix searching for regex break under javascript. It basically tells vim to use the old regexengine (the fully tested one xD)
:set regexpengine=1
:syntax enable
Hope it helps, and here's the reference https://github.com/pangloss/vim-javascript/issues/93
精彩评论