Miror fixes, added RegExps and default error message