[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

regexp that matches newline characters?

From: Dmitri Minaev
Subject: regexp that matches newline characters?
Date: Fri, 9 May 2008 21:53:12 +0500

I tried to extract a tag from an xml file to parse it later, but I
can't find a regexp that would match an xml tag with its content,
including newlines. Dot doesn't match newlines. The elisp manual
mentions that "complemented character alternative" matches a newline,
so I used this funny template:\\(<author>[^±]*?</author>\\). Of
course, this is not the right thing to do. What would be the correct
regular expression?

With best regards,
Dmitri Minaev

Russian history blog:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]