(RFC4514) and LDAP filter escaping (RFC4515).</td><td /></tr>
<tr class="odd"><td><code>replace</code></td>
<td>replace(string, "from", "to") replaces all occurrences of "from"
- in the string with "to".</td><td /></tr>
+ in the string with "to". The first parameter must not be a literal string.
+ </td><td /></tr>
</table>
<p>The functions marked as "restricted" in the final column are not
<If "md5('foo') == 'acbd18db4cc2f85cedef654fccc4a4d8'">
Header set checksum-matched true
</If>
-<If "md5('foo') == replace('md5:XXXd18db4cc2f85cedef654fccc4a4d8', 'md5:XXX', 'acb')">
- Header set checksum-matched-2 true
-</If>
+
+Require expr replace(%{REQUEST_METHOD}, 'E', 'O') == 'GET'"
# Function example in string context
Header set foo-checksum "expr=%{md5:foo}"
<p>This syntax is available in version 2.4.21 and later.</p>
<div class="example"><p><code>
- <!--#comment Blah Blah Blah -->
+ <!--#comment Blah Blah Blah --><br />
+ or<br />
+ <!--#comment text="Blah Blah Blah" -->
</code></p></div>
<tr><th><a href="directive-dict.html#Override">Override:</a></th><td>Options</td></tr>
<tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Extension</td></tr>
<tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_speling</td></tr>
+<tr><th><a href="directive-dict.html#Compatibility">Compatibility:</a></th><td>Available in httpd 2.5.0 and later</td></tr>
</table>
<p>When set, this directive extends the action of the spelling correction
to the file name extension. For example a file <code>foo.gif</code> will