so regex isn't recalculated