From b7e04152c06aa03e829171edbc4f4a46d22708fb Mon Sep 17 00:00:00 2001 From: Julia Afeltra Date: Wed, 6 Mar 2024 14:05:07 -0500 Subject: [PATCH] Update alias regex --- src/processor/AliasProcessor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/processor/AliasProcessor.ts b/src/processor/AliasProcessor.ts index 1c5986a9..72ea8678 100644 --- a/src/processor/AliasProcessor.ts +++ b/src/processor/AliasProcessor.ts @@ -8,7 +8,7 @@ import { InputStream, CommonTokenStream } from 'antlr4'; import FSHLexer from 'fsh-sushi/dist/import/generated/FSHLexer'; import FSHParser from 'fsh-sushi/dist/import/generated/FSHParser'; -const aliasRegex = /^\$?[a-zA-z0-9_\-\.]*$/; +const aliasRegex = /^\$?[a-zA-z0-9_\-\.]+$/; export class AliasProcessor { static process(aliasFile: string): ExportableAlias[] {