Add regular expression support in policy schema.
This CL add "pattern" restriction to string type in schema, and "patternProperties" add variable properties name in an object type. Both of these features are based on regular expression and third_party/re2 is used in this implementation.
BUG=348551
Review URL: https://codereview.chromium.org/205923004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262364 0039d316-1c4b-4281-b951-d872f2087c98
CrOS-Libchrome-Original-Commit: de0cfab836e55b254238a2bb4b21dcace0140c2c
4 files changed