summaryrefslogtreecommitdiffstats
path: root/tests/010/reghash.txr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/010/reghash.txr')
-rw-r--r--tests/010/reghash.txr5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/010/reghash.txr b/tests/010/reghash.txr
new file mode 100644
index 00000000..6de73a48
--- /dev/null
+++ b/tests/010/reghash.txr
@@ -0,0 +1,5 @@
+@(bind result @(let ((table '#H((:equal-based)
+ ,(list "$dim" "length") ("$object" "plank")
+ ("$value" "100") ("$units" "cm"))))
+ (regsub #/$[a-z]+/ (op table)
+ "The $dim of $object is $value $units")))