Regex for python that puts quotation marks around all 6-12 digit numbers in a text file : <p>I currently have the following regex that identifies 6-12 numbers:</p>

<pre><code>regex_did = re.compile(r"\b\d{6,12}\b")
</code></pre>

<p>What would be the correct approach to put all matches between two quotation marks. For example <code>123456</code> should be replaced with <code>"123456"</code>.</p>
