Subject: Re: Need help with a regexp
From: "greg" <eegreg gmail.com>
Date: Fri, 8 Dec 2006 14:24:00 +0900
References: 228684228689228690
In-reply-to: 228690
You are missing the 'm' flag which will allow '.' to match new lines
pre_match = /<pre>.*?<\pre>/m
block_match = /<blockquote>.*?:<p>.*?<\/p>.*?<\/blockquote>/m