Simplify pattern
Co-authored-by: Camden Cheek <camden@ccheek.com>
This commit is contained in:
parent
37f059a2aa
commit
edb5613f52
|
@ -212,7 +212,7 @@ module.exports = grammar({
|
|||
),
|
||||
|
||||
image_name: ($) => seq(
|
||||
choice(/[^@:\s\$-][^@:\s\$]*/, $.expansion),
|
||||
choice(/[^@:\s\$-]/, $.expansion),
|
||||
repeat(choice(/[^@:\s\$]+/, $.expansion))
|
||||
),
|
||||
|
||||
|
|
Loading…
Reference in a new issue