[regex] Why doesn't [01-12] range work as expected?