testing and fixing bug where dates of cards could not be calculated if a message contained FOO-100[ (no space before the [ )