Changed std to boost regex.