Changeset

2110:c26b28c65d47

mod_firewall: README: Document INSPECT's pattern matching ability
author Matthew Wild <mwild1@gmail.com>
date Thu, 17 Mar 2016 11:39:43 +0000
parents 2109:9db4113d0cb5
children 2111:4e434abaf8fc
files mod_firewall/README.markdown
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mod_firewall/README.markdown	Thu Mar 17 11:37:19 2016 +0000
+++ b/mod_firewall/README.markdown	Thu Mar 17 11:39:43 2016 +0000
@@ -149,6 +149,11 @@
 returned. If the path ends with '@name' then the value of the attribute
 'name' will be returned.
 
+You can use INSPECT to test for the existence of an element or attribute,
+or you can see if it is equal to a string by appending `=STRING` (as in the
+example above). Finally,you can also test whether it matches a given Lua
+pattern by using `~=PATTERN`.
+
 INSPECT is somewhat slower than the other stanza matching conditions. To
 minimise performance impact, always place it below other faster
 condition checks where possible (e.g. above we first checked KIND, TYPE