On Thu, Oct 20, 2011 at 11:17:23AM -0700, dp wrote: > I need to find and replace everything between and including the > delimiters > <!-- Begin value list --> > and > <!-- End value list --> > The text to be replaced includes returns. Early attempts with (.*) > found only the opening delimiter and the next line, stopped by the > return at the end of the second line. Attempts to get past the returns > using (?s).+ ignore the closing delimiter and swallow the remainder of > the document. Any help would be appreciated.
Use .*? instead of .* for non-greedy matching. Ronald -- You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at <http://groups.google.com/group/bbedit?hl=en> If you have a feature request or would like to report a problem, please email "[email protected]" rather than posting to the group. Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
