Skip to content

Instantly share code, notes, and snippets.

@vyuh
Created July 21, 2020 18:00
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 vyuh/df1adff4970c93bb1997b33c20cbb76c to your computer and use it in GitHub Desktop.
Save vyuh/df1adff4970c93bb1997b33c20cbb76c to your computer and use it in GitHub Desktop.
EMMET LEXER TOKENS
APPEND '+'
ASC '@'
DESC '@-'
ASCEND '^'
ATTR [a-zA-Z_:][-_:.a-zA-Z0-9]*
ATTREND ']'
ATTRSTART '['
CLASS [-a-zA-Z0-9]\+
DESCEND '>'
DOLLAR '$'
DOT '.'
EQUAL '='
GROUPEND ')'
GROUPSTART '('
HASH '#'
ID [-a-zA-Z0-9]\+
MULTIPLY '*'
QQVALUE "\""
QVALUE "'"[^']*"'"
TAG [-a-zA-Z0-9]\+
TEXT [^}]*
TEXTEND '}'
TEXTSTART '{'
UINT \d+
VALUE [^ ]*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment