title: Regex OR statement won't work without space after string
body: <p>I am trying to get this regex to match (once or twice) any occurrence of these strings: border-box|padding-box|content-box</p>
  
  <p>Here is the regex:</p>
  
  <pre><code>((?:border-box|padding-box|content-box){1,2})
  </code></pre>
  
  <p>Here is the sample string:</p>
  
  <pre><code>background: url("my image.jpg") left right 2px 50% 75% repeat-x round scroll border-box padding-box;
  </code></pre>
  
  <p>Expected result:</p>
  
  <pre><code>border-box padding-box
  </code></pre>
  
  <p>Actual result:</p>
  
  <pre><code>Array
  (
      [0] =&gt; border-box
      [1] =&gt; border-box
  )
  </code></pre>
  
  <p>Oh and btw I am using this site to test my regex: <a href="http://www.phpliveregex.com/" rel="nofollow">http://www.phpliveregex.com/</a>
  Note: I am using preg_match not preg_match_all</p>