Hi Albert!

On Mo, 16 Aug 2010, Albert wrote:

> Christian Brabandt wrote:
> > <snip>
> > I think this should work:
> > /\<\%([0-9]\|[^2-9][0-9]\|20\)\>
> >
> > Which translates roughly to
> > \<          " beginning of a word
> > \%(...\)    " Start a group
> > [0-9]       " either 0-9
> > \|          " or
> > [^2-9][0-9] " 00 until 19
> > \|          " or
> > 20          " 20
> > \>          " end of word
> > <snip>
> 
> Shouldn't the [^2-9][0-9] be [^1-9][0-9]?

Because you don't want to match 10 until 19?

regards,
Christian

-- 
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

Reply via email to