You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by kw...@apache.org on 2017/12/09 16:07:54 UTC

[sling-org-apache-sling-validation-test-services] branch master updated: fix escaping in regular expression

This is an automated email from the ASF dual-hosted git repository.

kwin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-validation-test-services.git


The following commit(s) were added to refs/heads/master by this push:
     new 8fd5f58  fix escaping in regular expression
8fd5f58 is described below

commit 8fd5f587ab2f36fa4bf4ae74b37187cbab4e7773
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Sat Dec 9 17:07:50 2017 +0100

    fix escaping in regular expression
---
 .../resources/SLING-CONTENT/apps/sling/validation/models/model1.json    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/resources/SLING-CONTENT/apps/sling/validation/models/model1.json b/src/main/resources/SLING-CONTENT/apps/sling/validation/models/model1.json
index c568966..47e9c87 100644
--- a/src/main/resources/SLING-CONTENT/apps/sling/validation/models/model1.json
+++ b/src/main/resources/SLING-CONTENT/apps/sling/validation/models/model1.json
@@ -14,7 +14,7 @@
                 "jcr:primaryType" : "nt:unstructured",
                 "org.apache.sling.validation.core.RegexValidator": {
                     "jcr:primaryType" : "nt:unstructured",
-                    "validatorArguments" : ["regex=^\\\p{Upper}+$"],
+                    "validatorArguments" : ["regex=^\\p{Upper}+$"],
                     "severity" : "10"
                 }
             }

-- 
To stop receiving notification emails like this one, please contact
['"commits@sling.apache.org" <co...@sling.apache.org>'].