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.
I still have to look at the SRE Syntax section -- probably later today.
Substantive points:
Maybe `regex-replace` should accept an optional integer argument
indicating which occurrence in the main string to replace.
--
John Cowan http://www.ccil.org/~cowan xxxxxx@ccil.org
Let's face it: software is crap. Feature-laden and bloated, written under
tremendous time-pressure, often by incapable coders, using dangerous
languages and inadequate tools, trying to connect to heaps of broken or
obsolete protocols, implemented equally insufficiently, running on
unpredictable hardware -- we are all more than used to brokenness.
--Felix Winkelmann