We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a73506 commit b46301eCopy full SHA for b46301e
src/languages/nsis.js
@@ -506,7 +506,9 @@ export default function(hljs) {
506
}
507
};
508
509
- const VARIABLE_NAME_RE = regex.concat(hljs.IDENT_RE, "(\.", hljs.IDENT_RE, ")*");
+ // Var Custom.Variable.Name.Item
510
+ // Var /GLOBAL Custom.Variable.Name.Item
511
+ const VARIABLE_NAME_RE = /[A-Za-z][\w.]*/;
512
const VARIABLE_DEFINITION = {
513
match: [
514
/Var/,
0 commit comments