group in regexp ?
Wed Apr 16 23:24:53 CEST 2003
----- Original Message -----
From: "HP Wei" <hp@REDACTED>
Sent: Wednesday, April 16, 2003 8:06 PM
Subject: group in regexp ?
> > regexp:matches(" first=string second=test end",
> "first=(.*) second=(.*) end").
> *** How do I get the matched string in the first group ?
> first group match = string
> second group match = test
You can't do it at the moment, but I am working on an upgrade
to the regexp module which includes this. It works but needs
some more checking before I release it.
More information about the erlang-questions