vim-autoclose icon indicating copy to clipboard operation
vim-autoclose copied to clipboard

Wrong chars in regular expressions

Open EinfachToll opened this issue 11 years ago • 0 comments

Although I could not figure out where, if ever, this causes a problem, the following lines (lines 129ff. in plugin/AutoClose.vim) seem not to work:

if b:AutoCloseSmartQuote != 0
     let l:regex = q . '[ˆ\\' . q . ']*(\\.[ˆ\\' . q . ']*)*' . q
else
     let l:regex = q . '[ˆ' . q . ']*' . q
endif

The ˆ are most likely supposed to be a ^ But I don't really get the meaning of the first regular expression anyway...

EinfachToll avatar Jun 03 '13 10:06 EinfachToll