Re: Stripping XML declaration

William McKee <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.petal
Message-ID <[email protected]>
On Wed, Jan 12, 2005 at 05:32:12PM -0500, Josh Narins wrote:
> Sorry about that, I'm pretty new to mutt.  I'm on some other mailing
> lists, but this is the first one I've replied to :)

No worries. I use the Shift-L macro to reply to lists.


> That didn't work, but this did...
> 
> s#^\s*<\?xml version="1\.0"\?>\s*##s;
> 
> I think I was missing an explicit whitespace indication between xml and
> version in the first one.

Cool.


William

-- 
Knowmad Services Inc.
http://www.knowmad.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.