Capture negative dollar values : <p>the following expression captures positive dollar values i.e. 400$
how can i modify this to capture negative values only.</p>

<pre><code>pattern = re.compile(r'^\d+\$$')
</code></pre>
