Announce: Bundle Buggy now accepts BB: for votes
Blake Winton
bwinton at latte.ca
Fri Aug 10 17:29:17 BST 2007
Aaron Bentley wrote:
> Alexander Belchenko wrote:
>> But may I make suggestion to ignore spaces between BB: and vote?
> Done.
>> Or it will complicate processing of incoming mails?
> It's just a regexp:
> match = re.search(r'(^|\n|\r)(!|BB:) ?([A-Za-z]+)', text, re.I)
I think
match = re.search(r'(^|\n|\r)(!|BB: ?)([A-Za-z]+)', text, re.I)
might be better. Alexander didn't ask for a space between the "!" and
the vote, only between the "BB:" and the vote, and "!Ignore" seems more
token-ish than "! Ignore", which feels to me like it could be the result
of some bad line wrapping...
Later,
Blake.
More information about the bazaar
mailing list