On Friday, May 25, 2012 5:00:46 AM UTC-5, Chris Jones wrote: > On Fri, May 25, 2012 at 05:47:35AM EDT, Christian Brabandt wrote: > > On Fri, May 25, 2012 11:32, Chris Jones wrote: > > > > Search/replace behavior in the GUI is not only different than in the > > > console version but appears to lead to inconsistencies: try a search > > > ‘.*’ for instance and compare with ‘\s\s’. > > > I think the search/replace dialog uses the \V atom to make the > > search "very nomagic", so you need to use \.\* > > Yes, I didn't mention it in my post but I did check the GUI's setting by > a ‘:set magic?’ and noticed that it was (recommended for portability's > sake by the manual..) that it is also set to ‘magic’ in the GUI.. same > as the console version. > > Do you mean that the code overrides this setting for the GUI search..? >
Yes...kind of. The code for the GUI automatically inserts \V in the search pattern, which is a flag for "very nomagic", which is not even settable via an option. The \V flag will override any 'magic' option setting. -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
