[erlang-questions] built-in xml parser

Claes Wikstrom klacke@REDACTED
Fri Jun 26 02:15:36 CEST 2009


Per Melin wrote:

> The solution is obvious; use 're' to parse XML.
> 
> -module(regexml).
> 
> -export([parse/1]).
> 
> -define(XML_RE, "[^<]+|<(?:!(?:--(?:[^-]*-(?:[^-][^-]*-)*->?)?"
                    ....


Brilliant, XML hater ???

/klacke


More information about the erlang-questions mailing list