> I haven't seen the other replies yet, but I would say > > binary: /%[01]\+\>/ > decimal: /\<\d\+\>/
I'd be tempted to tighten up this "decimal" regexp to ensure that it doesn't overlap with the binary/hex versions: decimal: \<[%$]\@<!\d\+ > hex: /\$\x\+\>/ But otherwise Tony's provided good regexps for the binary/hex variants. -tim --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
