Skip to content

Instantly share code, notes, and snippets.

@christianparpart
Created May 22, 2011 16:38
Show Gist options
  • Save christianparpart/985659 to your computer and use it in GitHub Desktop.
Save christianparpart/985659 to your computer and use it in GitHub Desktop.
VIM syntax file excerpt
" IPv6 address
syn match flowIPv6 /[a-fA-F0-9:]*::[a-fA-F0-9:.]*/
syn match flowIPv6 /[a-fA-F0-9:]\+:[a-fA-F0-9:]\+:[a-fA-F0-9:.]\+/
" identifiers
syn match flowIdent /[a-zA-Z][a-zA-Z0-9_.]*\(:\)\@!/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment