Core: Improve dateISO RegExp

Closes #1136