diff --git a/grammar.js b/grammar.js index b17bcae..71a205f 100644 --- a/grammar.js +++ b/grammar.js @@ -212,7 +212,7 @@ module.exports = grammar({ ), image_name: ($) => seq( - choice(/[^@:\s\$-][^@:\s\$]*/, $.expansion), + choice(/[^@:\s\$-]/, $.expansion), repeat(choice(/[^@:\s\$]+/, $.expansion)) ),