Store campfire.failmsgregx as a Regex object instead of a String in the campfire config.  Really don't know how this ever worked.