XVimProject / XVim

Xcode plugin for Vim keybindings
MIT License
5.16k stars 596 forks source link

:%s/\<myword\>/subtitte/g does not work, have set vimregex #704

Open Tiger6688 opened 9 years ago

Tiger6688 commented 9 years ago

I have set vimregex in my .xvimrc but :%s/\<myword\>/subtitte/g does not work

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/9081274-s-myword-subtitte-g-does-not-work-have-set-vimregex?utm_campaign=plugin&utm_content=tracker%2F252770&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F252770&utm_medium=issues&utm_source=github).
Tiger6688 commented 9 years ago

anybody, some help please!!!!!

pebble8888 commented 9 years ago

try :%s/\bmyword\b/subtitle/g XVim uses NSRegularExpression. \< and \> is not implemented in XVim.