Shrinked parenthesis regex
This commit is contained in:
+2
-2
@@ -1,4 +1,4 @@
|
||||
syntax "Jade" "\.jade$"
|
||||
syntax "Pug" "\.pug$"
|
||||
# Elements
|
||||
color yellow "^\s*([a-z0-9]+)"
|
||||
# Main elements
|
||||
@@ -12,7 +12,7 @@ color white "^\s*(\-)"
|
||||
# Conditionals
|
||||
icolor magenta "^\s*(if|else|else if)$" "^\s*(if|else|else if)\s"
|
||||
# Parenthesis content
|
||||
color blue "\((.*?)\)"
|
||||
color blue start="\(" end="\)"
|
||||
# Strings
|
||||
color cyan "('[^']*')|(\"[^\"]*\")"
|
||||
# Parenthesis, commas, equals
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@ color white "^\s*(\-)"
|
||||
# Conditionals
|
||||
icolor magenta "^\s*(if|else|else if)$" "^\s*(if|else|else if)\s"
|
||||
# Parenthesis content
|
||||
color blue "\((.*?)\)"
|
||||
color blue start="\(" end="\)"
|
||||
# Strings
|
||||
color cyan "('[^']*')|(\"[^\"]*\")"
|
||||
# Parenthesis, commas, equals
|
||||
|
||||
Reference in New Issue
Block a user