[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Regexp: match any character including newline
From: |
Rustom Mody |
Subject: |
Re: Regexp: match any character including newline |
Date: |
Wed, 16 Oct 2013 08:58:25 -0700 (PDT) |
User-agent: |
G2/1.0 |
On Wednesday, October 16, 2013 8:12:54 PM UTC+5:30, Yuri Khan wrote:
> Hello All,
>
>
> I’m doing regexp replacements on a hard-wrapped XHTML-alike. Here’s an
> original fragment:
Regexp handling of xml is commonly a source of grief.
It is usually better to use a dedicated tool like this
http://www.crummy.com/software/BeautifulSoup/
or (more xmlish than htmlish)
http://lxml.de/
These are python solutions. Im sure there are equivalent ones in other
scripting languages of your choice