e149692cc9
subrepo: subdir: "dotfiles/.vim/plugged/ale" merged: "e4b205440" upstream: origin: "https://github.com/dense-analysis/ale.git" branch: "master" commit: "e4b205440" git-subrepo: version: "0.4.3" origin: "???" commit: "???"
4 lines
268 B
Text
4 lines
268 B
Text
Execute(ale#util#EscapePCRE should escape strings for PCRE or RE2 appropriately):
|
|
AssertEqual '\\\^\$\*\+\?\.\(\)\|\{\}\[\]', ale#util#EscapePCRE('\^$*+?.()|{}[]')
|
|
AssertEqual 'abcABC09', ale#util#EscapePCRE('abcABC09')
|
|
AssertEqual '/', ale#util#EscapePCRE('/')
|