Apply raw string to function return value
<p>I'm not sure if I've phrased it correctly, but hopefully the example will clear it up:</p>

<pre><code>re.search(fileMask.replace('*','.*?'),fileName):
</code></pre>

<p>For the first parameter in the re.search() call, how can I ensure that I will pass the value returned by the fileMask.replace() call as a raw string?</p>

<p>Something to the effect of:</p>

<pre><code>re.search(r'fileMask.replace('*','.*?')',fileName):
</code></pre>

<p>..although that won't work because I actually need the fileMask function to be called.</p>
