title: PHP preg_match on own computer doesn't work
body: <p>I have this code:</p>
  
  <pre><code>$success = preg_match('/(.+(駅前)?駅) (\(([^線]+線)\) )?((([^線 ]+) )?(\d+[分時])?)/u', $m, $matches);
  </code></pre>
  
  <p>Example input text is </p>
  
  <pre><code>大正駅 (JR大阪環状線) ﾊﾞｽ 20分
  </code></pre>
  
  <p>This regex works on <a href="https://regex101.com/" rel="nofollow noreferrer">https://regex101.com/</a> and the code works on <a href="http://sandbox.onlinephpfunctions.com/" rel="nofollow noreferrer">http://sandbox.onlinephpfunctions.com/</a>. However, when I run the PHP code on my own computer, it never gives me a match. <code>$matches</code> is an empty array, and <code>$success</code> is 0. Yes, the exact same code. I have verified that the regex is correct (using first link) and that the code itself works (using second link). However, it still refuses to work on my own PC.</p>
  
  <p>OS is Arch Linux, running PHP 7.3.11, system locale is ja_JP.UTF-8 (which I don't think matters, but just in case)</p>
  
  <p>Does anyone see anything wrong with the code?</p>