regexs are checked on multi threads