tweak README
authorBertrand Delacretaz <bdelacretaz@apache.org>
Thu, 18 Oct 2018 12:16:47 +0000 (14:16 +0200)
committerBertrand Delacretaz <bdelacretaz@apache.org>
Thu, 18 Oct 2018 12:16:47 +0000 (14:16 +0200)
README.md

index 28d0374..1ebae88 100644 (file)
--- a/README.md
+++ b/README.md
@@ -65,7 +65,7 @@ This module does not provide any active `CapabilitiesSource` out of the box, but
 `sling.servlet.*` properties for reference.
 
 With the example configuration below a `sling/capabilities` resource with 
-`namespace_patterns='servlets\.[A|B]'` and a path that matches `/var/capabilities/.*`
+`namespace_patterns='org\.apache\.sling\.servlets\.test[A|B]'` and a path that matches `/var/capabilities/.*`
 produces the following output at `/var/capabilities/caps.json` with the resource shown 
 below:
 
@@ -118,4 +118,4 @@ And a resource that then generates the above output can be created with
     curl -u admin:admin \
       -Fsling:resourceType=sling/capabilities \
       -Fnamespace_patterns='org\.apache\.sling\.servlets\.test[A|B]' \
-      http://localhost:8080/var/capabilities/caps
\ No newline at end of file
+      http://localhost:8080/var/capabilities/caps