Fix group escaping. Closes #168.
Parse date format that was failing on IE.