Commit graph

14 commits

Author SHA1 Message Date
Alex Shinn
6f28159667 regexp-replace should respect start/end also for pre/post substitutions 2019-12-28 22:48:44 +08:00
Nguyễn Thái Ngọc Duy
829d963a9d More error checking on some SRE syntax
When char-set, w/case, w/nocase, w/ascii or w/unicode is applied on a
<cset-sre>, only (cadr sre) is taken, the rest is ignored. Which is the
right thing to do only if (null? (cddr sre)). If there are more
arguments, error out instead of silently ignoring them.
2019-07-21 10:46:44 +07:00
Alex Shinn
017bb1c2a0 adding -Dsafe-string-cursors feature to perform extra checks on string cursors 2019-02-01 00:31:13 +08:00
Alex Shinn
a7584ae647 allow zero-or-more (*) combining characters in the 'grapheme SRE rather than one-or-more (+) 2018-09-18 23:21:27 +08:00
Alex Shinn
768a37c7a0 fixing empty match handling in regexp-split/partition 2017-10-11 22:59:55 +09:00
Alex Shinn
b2cdeba142 allow empty strings in regexp-split 2017-10-11 22:41:39 +09:00
Alex Shinn
1d9038d3ca removing leftover noops from debugging 2016-12-18 16:06:56 +09:00
Alex Shinn
3e796be258 adding initial non-greedy match support 2016-12-15 00:33:57 +09:00
Alex Shinn
0c80f38a19 making string-cursors a disjoint type 2016-03-29 22:25:09 +09:00
Alex Shinn
aeb881412c Fixing regexp-replace substring index error on non-ascii inputs. 2015-06-09 23:19:58 +09:00
Alex Shinn
f71d3e18bd Improving regexp docs. 2015-05-03 08:22:38 +09:00
Alex Shinn
d08ce6e925 regexp-search can terminate early if a match is found and all remaining possible matches start to the right of it 2015-03-22 22:45:36 +09:00
Alex Shinn
390308fe0b Fixing SRFI 115 bug reports from Will Clinger.
Adding regexp-partition.
2015-03-02 23:47:32 +09:00
Alex Shinn
2922ed591d Forgot to install regexp (patch from Lorenzo) 2015-01-26 08:06:59 +09:00