title: target of repeat operator is not specified when using optional character
body: <p>I want to match a pattern like this:</p>
  
  <pre><code>ssfd
  </code></pre>
  
  <p>or this:</p>
  
  <pre><code>oifdsofijsdf d
  </code></pre>
  
  <p>So a first name alone or first name and middle initial.</p>
  
  <pre><code>"dsfsf m" =~ /^[A-Za-z]+\s[A-Za-z]$/
  </code></pre>
  
  <p>To make the middle initial optional, I added the ?:</p>
  
  <pre><code>"dsfsf" =~ /^[A-Za-z](+\s[A-Za-z])?$/
  </code></pre>
  
  <p>But it gives me error:</p>
  
  <blockquote>
    <p>target of repeat operator is not specified</p>
  </blockquote>
  
  <p>What am I doing wrong?</p>