Shrinked parenthesis regex

This commit is contained in:
Andrea Dejan Grande 2019-04-28 03:00:29 +02:00
parent 966e51f363
commit 5aaa682af6
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
syntax "Jade" "\.jade$" syntax "Pug" "\.pug$"
# Elements # Elements
color yellow "^\s*([a-z0-9]+)" color yellow "^\s*([a-z0-9]+)"
# Main elements # Main elements
@ -12,7 +12,7 @@ color white "^\s*(\-)"
# Conditionals # Conditionals
icolor magenta "^\s*(if|else|else if)$" "^\s*(if|else|else if)\s" icolor magenta "^\s*(if|else|else if)$" "^\s*(if|else|else if)\s"
# Parenthesis content # Parenthesis content
color blue "\((.*?)\)" color blue start="\(" end="\)"
# Strings # Strings
color cyan "('[^']*')|(\"[^\"]*\")" color cyan "('[^']*')|(\"[^\"]*\")"
# Parenthesis, commas, equals # Parenthesis, commas, equals

View File

@ -12,7 +12,7 @@ color white "^\s*(\-)"
# Conditionals # Conditionals
icolor magenta "^\s*(if|else|else if)$" "^\s*(if|else|else if)\s" icolor magenta "^\s*(if|else|else if)$" "^\s*(if|else|else if)\s"
# Parenthesis content # Parenthesis content
color blue "\((.*?)\)" color blue start="\(" end="\)"
# Strings # Strings
color cyan "('[^']*')|(\"[^\"]*\")" color cyan "('[^']*')|(\"[^\"]*\")"
# Parenthesis, commas, equals # Parenthesis, commas, equals