crayon-syntax-highlighter/langs/sh/sh.txt
2019-08-30 19:30:19 +02:00

22 lines
722 B
Plaintext

### SHELL LANGUAGE ###
# ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
NAME Shell
VERSION 1.8.1
PREPROCESSOR (\A^#!.*?$)
COMMENT (?<!\${)(#.*?$)
STRING ((?<!\\)"[^\r\n]*?(?<!\\)")|((?<!\\)'[^\r\n]*?(?<!\\)')
STATEMENT (?default)|\b(?alt:statement.txt)\b
RESERVED (?default)|\b(?alt:reserved.txt)\b
TYPE (?default)
ENTITY (?default)|(\.[a-z_]\w*\b)
VARIABLE (?default)|(\$[a-z_]\w*\b)
IDENTIFIER (?default)
CONSTANT (?default)
OPERATOR (?default)
SYMBOL (?default)