summaryrefslogtreecommitdiff
path: root/design-documents/018-contract-json.rst
diff options
context:
space:
mode:
Diffstat (limited to 'design-documents/018-contract-json.rst')
-rw-r--r--design-documents/018-contract-json.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/design-documents/018-contract-json.rst b/design-documents/018-contract-json.rst
index 7c626007..4208febc 100644
--- a/design-documents/018-contract-json.rst
+++ b/design-documents/018-contract-json.rst
@@ -46,7 +46,7 @@ In order to make it easy to get a canonical representation for JSON contract
terms, the following restrictions apply:
* Member names are restricted: Only strings matching the regular expression
- ``0-9A-Z_a-z`` or the literal names ``$forgettable`` or ``$forgotten`` are
+ ``^[0-9A-Z_a-z]+$`` or the literal names ``$forgettable`` or ``$forgotten`` are
allowed. This makes the sorting of object members easier, as RFC8785
requires sorting by UTF-16 code points.
* Floating point numbers are forbidden. Numbers must be integers in the range