summaryrefslogtreecommitdiff
path: root/re.scm
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2020-05-09 22:18:17 -0700
committerBen Sima <ben@bsima.me>2020-05-09 22:18:17 -0700
commitfd721e94532ba7f912d13706b3c03056345952e6 (patch)
tree7c273db16e0e8dc4de7f1702e50e2e368bbd18b5 /re.scm
parent1542c85458dcd58bb6d40f1f8d3917f80298ddd2 (diff)
Index titles
Also don't overwrite srfi-1 stuff, and added an re module.
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)))