projects
/
apache
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d26c40
)
function examples, other flavor of function examples. replace() example
author
Eric Covener
<covener@apache.org>
Fri, 5 Dec 2014 13:28:08 +0000
(13:28 +0000)
committer
Eric Covener
<covener@apache.org>
Fri, 5 Dec 2014 13:28:08 +0000
(13:28 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1643267
13f79535
-47bb-0310-9956-
ffa450edef68
docs/manual/expr.xml
patch
|
blob
|
history
diff --git
a/docs/manual/expr.xml
b/docs/manual/expr.xml
index d493c597d41460dcaea1330ade6b642d2ce2f860..e2c995356212c751a2665ab4c9e4056c97ba4007 100644
(file)
--- a/
docs/manual/expr.xml
+++ b/
docs/manual/expr.xml
@@
-596,6
+596,17
@@
listfunction ::= listfuncname "<strong>(</strong>" word "<strong>)</strong>"
</If>
</Directory>
+# Function examples in boolean context
+<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>
+
+# Function example in string context
+Header set foo-checksum "expr=%{md5:foo}"
+
</highlight>
</section>