mirror of
https://github.com/Hopiu/micro.git
synced 2026-03-16 22:10:26 +00:00
sh.yaml: Match parameter expansions with braces using \w
This commit is contained in:
parent
4abd966a99
commit
0985d2cadd
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ rules:
|
|||
# Conditional flags
|
||||
- statement: "\\s+(-[A-Za-z]+|--[a-z]+)"
|
||||
|
||||
- identifier: "\\$\\{[0-9A-Za-z_:!%&=+#~@*^$?, .\\-\\/\\[\\]]+\\}"
|
||||
- identifier: "\\$\\{[\\w:!%&=+#~@*^$?, .\\-\\/\\[\\]]+\\}"
|
||||
- identifier: "\\$([0-9_!#@*$?-]|[A-Za-z_]\\w*)"
|
||||
|
||||
- constant.string:
|
||||
|
|
|
|||
Loading…
Reference in a new issue