Use regular expressions for autocheck error (close #104)