Skip to content

Commit

Permalink
Update alias regex
Browse files Browse the repository at this point in the history
  • Loading branch information
jafeltra committed Mar 6, 2024
1 parent 9dcef55 commit b7e0415
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/processor/AliasProcessor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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[] {
Expand Down

0 comments on commit b7e0415

Please sign in to comment.