Justify use of regex.