summaryrefslogtreecommitdiffstats
path: root/pigeonhole/tests/extensions/regex/errors/runtime.sieve
diff options
context:
space:
mode:
Diffstat (limited to 'pigeonhole/tests/extensions/regex/errors/runtime.sieve')
-rw-r--r--pigeonhole/tests/extensions/regex/errors/runtime.sieve9
1 files changed, 9 insertions, 0 deletions
diff --git a/pigeonhole/tests/extensions/regex/errors/runtime.sieve b/pigeonhole/tests/extensions/regex/errors/runtime.sieve
new file mode 100644
index 0000000..2d0bf66
--- /dev/null
+++ b/pigeonhole/tests/extensions/regex/errors/runtime.sieve
@@ -0,0 +1,9 @@
+require "regex";
+require "variables";
+require "fileinto";
+
+set "regex" "[";
+
+if header :regex "to" "${regex}" {
+ fileinto "frop";
+}