aboutsummaryrefslogtreecommitdiffstats
path: root/docs/reference
diff options
context:
space:
mode:
authors-ol <s+removethis@s-ol.nu>2025-08-04 21:00:54 +0000
committers-ol <s+removethis@s-ol.nu>2025-08-04 21:00:54 +0000
commitb18f8fe40234a51e245879341cc393751f4ef7ef (patch)
tree0df0964a71fc06d0293c2d250d552dad683c0397 /docs/reference
parentuse cmark instead of discount for markdown docs (diff)
downloadalive-b18f8fe40234a51e245879341cc393751f4ef7ef.tar.gz
alive-b18f8fe40234a51e245879341cc393751f4ef7ef.zip
fix repeated chars in symbol regex in docs and code
Diffstat (limited to 'docs/reference')
-rw-r--r--docs/reference/01_syntax.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/reference/01_syntax.md b/docs/reference/01_syntax.md
index 078ca3a..445725c 100644
--- a/docs/reference/01_syntax.md
+++ b/docs/reference/01_syntax.md
@@ -61,10 +61,11 @@ The following are all valid symbols:
_test
foo$
-The regular expression `[a-zA-Z\-+*\/_.,=!?%$~><][a-zA-Z0-9\-+*\/_.,=!?%$~><]*` matches all symbols.
+The regular expression `[a-zA-Z\-_+*^%\/.,=~!?$><][a-zA-Z0-9\-_+*^%\/.,=~!?$><]*`
+matches all symbols.
# cells
-Cells consist of any number of subexpressions separated by chunks of whitespace
+Cells consist of one or more subexpressions separated by chunks of whitespace
and enclosed in parentheses (`(` and `)`). A cell optionally contains a tag
immediately after the opening parenthesis. Whitespace between the opening
parenthesis and the first subexpression or the closing parenthesis and the last