Refined matching-error message. Close #203.
Fixed #206 and #207.