Tim Chase wrote: > >> If this is not the case, the help for \%[] may likely intend to > >> refer to "ordinary atoms" rather than "atoms". > >> > >> *However*, the above search/match expression returns an "E369: > >> invalid item in \%[]" error. > >> > >> I get this both in vim6.3 and vim7. > > > > The documentation omits to mention that \(\) things are not allowed > > inside \%[]. It also doesn't nest. > > So should the documentation for \%[] be updated to read "ordinary > atoms" rather than "atoms" then? Or are there additional items > that can go in a \%[] that are some subset of "atom" but a > superset of "ordinary atoms"?
All atoms can be used except \(\), \%(\), \z(\) and \%[]. Basically things that nest. -- We do not stumble over mountains, but over molehills. Confucius /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///