Regex find field should not clear unknown tokens
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3324294. -->
Reported by: [jurgenhaas](https://www.drupal.org/user/168924)
Related to !4
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>Usually, token replacements in config fields clear the token, if it's not defined. For regex values, this is a problem, e.g. if you search for something like <code>/P[AFKLMOPRSTUVXZ][0-9]{5}/</code>, because that would turn into <code>/P{5}/</code>.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Use token replacement in the regex field without the clear option.</p>
issue