[erlang-questions] some language changes
Wed May 23 10:33:29 CEST 2007
Darius Bacon wrote:
> 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.
However, it would be even nicer with some included examples on how to
run the code... :-)
Let's say I have the following regexp:
Out: ["plus, "42"] (or something like that)
Can I do it with 'ergex' ?
Can I do it with any other of the various regexp modules that are
floating around ?
More information about the erlang-questions