From 183ce73b72541370cbcd26dc9be9a6019f1f533c Mon Sep 17 00:00:00 2001 From: "binjin@chromium.org" Date: Thu, 27 Mar 2014 18:58:37 +0000 Subject: Add regular expression support in json_schema component Add support of "pattern" and "patternProperties" attribute into json_schema, with third_party/re2 as regular expression implementation. BUG=348551 Review URL: https://codereview.chromium.org/195193002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259943 0039d316-1c4b-4281-b951-d872f2087c98 --- components/test/data/json_schema/pattern_properties_dot.json | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 components/test/data/json_schema/pattern_properties_dot.json (limited to 'components/test') diff --git a/components/test/data/json_schema/pattern_properties_dot.json b/components/test/data/json_schema/pattern_properties_dot.json new file mode 100644 index 0000000..6a15f3e --- /dev/null +++ b/components/test/data/json_schema/pattern_properties_dot.json @@ -0,0 +1,6 @@ +{ + "type": "object", + "patternProperties": { + "^.$": { "type": "any" } + } +} -- cgit v1.1