[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: new draft available

This page is part of the web mail archives of SRFI 115 from before July 7th, 2015. The new archives for SRFI 115 contain all messages, not just those from before July 7th, 2015.

On Sun, May 25, 2014 at 4:08 AM, John Cowan <cowan@xxxxxxxxxxxxxxxx> wrote:
Alex Shinn scripsit:

> http://srfi.schemers.org/srfi-15/srfi-15.html

I didn't know `fluid-let` had anything to do with regular expressions!

> If there are no further issues I'll move to
> finalize this.

Minor typos:  s/substition/substitution/; "an sre", "an regex";
s/interspered/interspersed/; s/encloding/encoding/; s/Alway/Always/;
s/kleene/Kleene/; s/bactracking/backtracking/.

Definition of `regexp`: s/Compile/Compiles/

Similarly in `regex-{extract,split,partition}`:  s/Extract/Extracts/;
s/Split/Splits/; s/Partition/Partitions/.

In `regexp-fold`, I think formatting (kons i regexp-match str acc)
as a displayed equation hurts readability.

Thanks, I'll apply all of these.

Maybe `regex-replace` should accept an optional integer argument
indicating which occurrence in the main string to replace.

It seems clumsy, and you can always achieve the same thing
by explicitly representing the count in the regexp, but it's
backwards-compatible and other APIs typically offer this.  If
there are no other comments on this I'll add it.