Le mardi 30 juin 2015 à 15:43, Nikolay Pavlov a écrit: > 2015-06-30 9:09 GMT+03:00 Paul Isambert <[email protected]>: > > > > You can move “{3}” outside the group: > > > > end=/\v^%(\.|\-){3}$/ > > > > and since chances are pretty low that you’ll have lines mixing “-” and > > “.”, you can use the more relaxed: > > > > end=/\v^[.-]{3}$/ > > These are not different. I did not move `{3}` out of the group because > it will *in both cases you presented* match something like `.-.`.
Oups, yeah, my bad. Paul -- -- 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 --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
