Closed phi-gamma closed 9 years ago
This derives both the spaced and unspaced list patterns from a common
one which takes an optional delimiter argument (char
, because that’s
what’s needed at the moment).
Looks good, thanks a lot for your contribution!
···<date: 2015-07-29, Wednesday>···
Looks good, thanks a lot for your contribution!
Thanks for writing the module in the first place ;)
Address issue #22
The IMAP spec doesn’t allow spaces between address elements. Example envelope-to input from Cyrus:
The parser trips over the second element:
because it expects a space or closing paren. This commit adds a labeled
delim
argument to thep_list
pattern which specifies the (optional) delimiter byte. This then forms the base for both thep_list
andp_address_list
patterns.