tw_cli: fix using string as regexp