You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by dl...@apache.org on 2023/09/11 18:22:25 UTC
[accumulo-access] 07/10: simplify spec
This is an automated email from the ASF dual-hosted git repository.
dlmarion pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo-access.git
commit 373c1928a374d12ca6ca609678e032aee716be41
Author: Keith Turner <kt...@apache.org>
AuthorDate: Sat Sep 9 16:54:31 2023 -0400
simplify spec
---
SPECIFICATION.md | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/SPECIFICATION.md b/SPECIFICATION.md
index 62152e2..61f99ea 100644
--- a/SPECIFICATION.md
+++ b/SPECIFICATION.md
@@ -33,16 +33,13 @@ the following [ABNF][1]:
```
access-expression = [expression] ; empty string is a valid access expression
-expression = access-token [and-expression / or-expression]
-expression =/ paren-expression [and-expression / or-expression]
+expression = (access-token / paren-expression) [and-expression / or-expression]
paren-expression = "(" expression ")"
-and-expression = "&" access-token [and-expression]
-and-expression =/ "&" paren-expression [and-expression]
+and-expression = "&" (access-token / paren-expression) [and-expression]
-or-expression = "|" access-token [or-expression]
-or-expression =/ "|" paren-expression [or-expression]
+or-expression = "|" (access-token / paren-expression) [or-expression]
access-token = 1*( ALPHA / DIGIT / "_" / "-" / "." / ":" / slash )
access-token =/ DQUOTE 1*(utf8-subset / escaped) DQUOTE