other parts of the app.  If you want to consolidate the
duplication, you can use a simple regular expression with a wildcard (<code>.*</code>) for the part of the message that varies per instance.</p>
<p>Below is the same deprecation-workflow file as above, now with a regular expression on line 7 to remove some redundant messages. Note that the double quotes around <code>matchMessage</code> have also been replaced with forward slashes.</p>
<div class="filename javascript"><div class="ribbon"></div><span>con