nt code example</h3>
<pre>
"cc̈d̈d".replace(Regex("[c̈d̈]"), "X") // Noncompliant, print "XXXXXX" instead of expected "cXXd".
</pre>
<h3>Compliant solution</h3>
<pre>
"cc̈d̈d".replace(Regex("c̈|d̈"), "X") // print "cXXd"
</pre>

