compile some regex