add accept_str recogniser