While a well written regular expression can be very efficient, a badly written regular expression might take a long time to run and slow the system down significantly. Why is regular expression efficiency important? These regular expressions are often matched against a large data set, so it is important that they are written to be efficient. filtering out sensitive information from command lines.processing information in the body of a TPL pattern.BMC Discovery allows users to enter regular expressions (regexes) for a number of purposes, such as: