3 ms·
...wait a minute, that sounds a lot like SRE. If you don't know, SRE is a DSL in scheme that is essentially an alternate syntax for regex that does this, origi
by qwertyuiop924 10y ago
...wait a minute, that sounds a lot like SRE.
If you don't know, SRE is a DSL in scheme that is essentially an alternate syntax for regex that does this, originally implemented by SCSH, and now most popularly by irregex. It looks like this:
(w/nocase (: (=> name (+ (or alnum ("._%+-")))) "@"
(=> domain (: (* (or alnum (".-"))) "."
(>= 2 alpha)))
eos))
I don't know if that's exactly what you were talking about: It's an alternate syntax, not a set of functions, which is what combinators usually imply.