Fixed the global chat regex issue