Don't want spaces in the text, but this regex is passing not sure why
<p>I am using the following regex</p>

<pre><code>/[a-zA-Z0-9]+/i.test(value)
</code></pre>

<p>If I enter a space in the word, it passes.</p>

<p>I don't see where spaces are aloud in the regex, why is it passing?</p>
