chat_client: regular expressions