Regex to allow spaces in string - bash
<p>I can't get a string with spaces to validate. It works without spaces, but when I include a space in the string it fails. I have googled furiously but can't get it to work.</p>

<pre><code>if [[ $string =~ ^"[A-Za-z ]"$ ]]; then
    # true
else 
    # false
fi
</code></pre>

<p>I'm not sure what I'm missing here...</p>