Ben Schmidt wrote:
> :help :sort|/first number
>
> The documentation reads
>
> < To sort on the first number in the line, no matter
> what is in front of it: >
> :sort /.*\ze\d/
>
> which is clearly wrong. As * is greedy, this actually sorts on the
> last digit in the line. The correct command would be something like
>
> :sort /.\{-}\ze\d/
Thanks for noticing, I'll include the correction.
--
hundred-and-one symptoms of being an internet addict:
1 49. You find your computer sexier than your girlfriend
/// 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 ///
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---