From b9b2217447c2e9bbef770bd02c7d72a6e70ffac8 Mon Sep 17 00:00:00 2001 From: Kate Sills Date: Wed, 12 Feb 2020 15:20:18 -0800 Subject: [PATCH] update regex --- packages/zoe/src/zoe.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/zoe/src/zoe.js b/packages/zoe/src/zoe.js index 564953f9f690..11871094dacf 100644 --- a/packages/zoe/src/zoe.js +++ b/packages/zoe/src/zoe.js @@ -290,7 +290,7 @@ Unimplemented installation moduleFormat ${moduleFormat}`; const instanceHandle = harden({}); const contractFacet = makeContractFacet(instanceHandle); - const firstCapASCII = /^[A-Z][ -~]+$/; + const firstCapASCII = /^[A-Z][a-zA-Z0-9_$]*$/; const { roles } = userProvidedTerms; // `getOwnPropertyNames` returns all the non-symbol properties