diff --git a/src/parser.ts b/src/parser.ts index 88a7217..bec8ff9 100644 --- a/src/parser.ts +++ b/src/parser.ts @@ -15,8 +15,7 @@ const BackslashEscape = Sequence( Regex(/./y).expects("CHAR") ).map(([, [char]]) => ({ text: char })); -const BARE_WORD_CHAR = /[^\s\\;\[]+/y; -const BARE_BRACKET_WORD_CHAR = /[^\s\\;\[\]]+/y; +const BARE_WORD_CHAR = /[^\s\\;\[\]]+/y; let BracketScript: Pattern