fixed crash on chat with only command char, expaned regex