summaryrefslogtreecommitdiff
path: root/re.scm
diff options
context:
space:
mode:
Diffstat (limited to 're.scm')
-rw-r--r--re.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/re.scm b/re.scm
new file mode 100644
index 0000000..b4f3dca
--- /dev/null
+++ b/re.scm
@@ -0,0 +1,7 @@
+#!r6rs
+(library (re (0))
+ (export match)
+ (import (rnrs base (6))
+ (ice-9 regex))
+ (define (match s pat)
+ (string-match pat s)))