Added support for dates with brackets.