That way we can warn about invalid sequences. Also, the previous code had at least one subtle bug (`\\\\'`).