Skip to content

Instantly share code, notes, and snippets.

@gerardo
Created July 23, 2017 01:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gerardo/b81baedf8289e124d2efc93d701cd9fa to your computer and use it in GitHub Desktop.
Save gerardo/b81baedf8289e124d2efc93d701cd9fa to your computer and use it in GitHub Desktop.
T := X ;
Y := T ;
X := Y ;
S = (format-line | (line date-line)) #"[\s\S]*"
format-line = #"##fileformat=VCFv[\s\S^(?:\r\n|\r|\n)]*(?:\r\n|\r|\n)"
date-line = #"##fileDate=[\s\S^(?:\r\n|\r|\n)]*(?:\r\n|\r|\n)"
line = #"[\s\S^(?:\r\n|\r|\n)]*(?:\r\n|\r|\n)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment