(bug fix) Regex Crash

This commit fixes it so TrollBot doesn't die from invalid regex