<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Regular expression support in comparison for <test>"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=40648#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Regular expression support in comparison for <test>"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=40648">bug 40648</a>
              from <span class="vcard"><a class="email" href="mailto:akira@tagoh.org" title="Akira TAGOH <akira@tagoh.org>"> <span class="fn">Akira TAGOH</span></a>
</span></b>
        <pre>another idea for regexp use case is:

<match>
  <test name="psname" mode="regex">
    <string>(.*)\-(UniJIS\-UTF8\-H)$</string>
  </test>
  <edit name="family" mode="regex_replace">
    <string>\1</string>
  </edit>
  <edit name="pscmap" mode="regex_replace">
    <string>\2</string>
  </edit>
  <edit name="lang" mode="assign">
    <langset><string>ja</string></langset>
  </edit>
</match>

We could have the bunch of rules against CMaps to determine the family name and
the lang according to the psname in the pattern.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>