[erlang-questions] some language changes
Darius Bacon
darius@REDACTED
Wed May 23 02:10:46 CEST 2007
ok <ok@REDACTED> wrote:
> So here's how I would like to write that:
>
> X = seq(any(".?!"), span("\"')]}"),
> alt("\n", "\t", seq(" ",any(" \t\n"))),
> span(" \t\n"))
I would, too -- the regexp code I posted the other day exported
constructor functions along these lines (even named seq and alt), with
the regexp syntax exiled to a separate parser module. It'd be nice if
the standard regexp module did this.
Darius
More information about the erlang-questions
mailing list