pcre, bifs, drivers and ports
Richard A. O'Keefe
Fri Aug 4 02:42:22 CEST 2006
Bjorn Gustavsson <bjorn@REDACTED> wrote:
Also, a FA can be difficult/impossible to use if you need to
know exactly what part of the string matched, for instance if
you need to replace the matched string with something else.
There's a Master's thesis "Efficient Submatch Addressing for
Regular Expressions" by one Laurikari from Finland which explains
how to do exactly that (with a slightly modified form of NFA).
More information about the erlang-questions