On 21/06/09 19:46, Jeri Raye wrote: > >> >> syn match pbLabel "^[[:alpha:]][[:alnum:]]*:\=" >> >> That is, it matches an alphabetic character at beginning of line, >> followed by any number of alphabetic or numeric characters, followed >> by an optional colon. > > I assume that $ is also an alphabetic character.
No, it isn't. [[:alpha:]] is equivalent to [a-zA-Z], [[:alnum:]] to [[:alpha:]0-9] > How do I exlucde a line that starts with a $ on a new line to be seen as > a pbLabel? No change. > > In other words: > > $ABCD > and > $102030 > > should not match to a pbLabel. > > Rgds, > Jeri Best regards, Tony. -- "If we were meant to fly, we wouldn't keep losing our luggage." --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
