Generate string data from regex
<p>I would like to be able to take a regex and generate conforming data using the python hypothesis library. For example given a regex of </p>

<pre><code>regex = re.compile('[a-zA-Z]')
</code></pre>

<p>This would match any english alpha characters. An example generator for this could be.</p>

<pre><code>import hypothesis
import string

hypothesis.strategies.text(alphabet=string.ascii_letters)
</code></pre>

<p>But Ideally I want to construct a string that will match any regex passed in.</p>