On Mon, 5 Mar 2007 16:44:59 +0100, "Manuel Souto Pico"
<[EMAIL PROTECTED]> wrote:

> Todd, could you explain the syntax (?s) in your expression? I don't
> know that one, what does it mean?

I'm on digest, so someone else (Ron most likely) may have answered
already. But if not:

That is a "pattern modifier," described in the BBEdit online help Grep
Reference, which lets . match returns. It is one of the keys for this to
work as I need it to. Your suggested pattern (the same but without that
modifier) only matches single consecutive duplicate lines, not "blocks"
of multiple lines that are duplicated.

Hope that makes sense!

- Todd

--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>

Reply via email to