When trying to use an unquoted wildcard the lexer reports and error:
4 LIST / %
* BYE Expected ASTRING
This is because the lexer currently handles quoted strings, literals and then defaults to astring. The default in the lexer needs to change according to what is being parsed e.g:
tags - default to a tag string that is an astring without '+' characters
mailbox in the list command - default to a list-mailbox which is an astring with wildcards and response specials.
Fixing this bug will probably need changes to how the parser calls the lexer.
When trying to use an unquoted wildcard the lexer reports and error:
This is because the lexer currently handles quoted strings, literals and then defaults to astring. The default in the lexer needs to change according to what is being parsed e.g:
Fixing this bug will probably need changes to how the parser calls the lexer.