bug fix: handles an escaped character at the beginning of a format_mask.