diff options
author | Ben Sima <ben@bsima.me> | 2020-06-01 15:28:37 -0700 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2020-06-01 15:28:37 -0700 |
commit | 6aa4f1890a4e1327b5eabfb19386c94750223cbe (patch) | |
tree | 22e247aa1a74190288900c24fa35b7b5d0431e6b /bs/re.scm | |
parent | 96245a828aa9c717b847812812546667e090ee3f (diff) |
Some fixups
Diffstat (limited to 'bs/re.scm')
-rw-r--r-- | bs/re.scm | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -16,15 +16,16 @@ ;; TODO: port srfi-115 to guile ;; TODO: make `match` and `search` do different things - (export match group sub search - I IGNORECASE M MULTILINE) + (export match group sub search compile + ;; I IGNORECASE M MULTILINE + ) (import (rnrs base (6)) (ice-9 regex)) - (define I regexp/icase) - (define IGNORECASE regexp/icase) - (define M regexp/newline) - (define MULTILINE regexp/newline) + ;; (define I regexp/icase) + ;; (define IGNORECASE regexp/icase) + ;; (define M regexp/newline) + ;; (define MULTILINE regexp/newline) ;; Compile `pattern` into a regular expression object. (define (compile pattern . flags) |