An application does a large search using a regular expression supplied by the user (e.g., through UI or a configuration file). Because the search is expected to be very large, the application tells the System.Regex object to use full optimization, including compilation to IL. When the search is done, the regular expression might not be used again.