On 20 Sep 2023, at 23:40, John Mitchell wrote:

> my search string is:  ^\s*print
> my replace string is:  #\0
>
> however it goes over the end of a blank line to connect with a next
> "print..."
> How do I stop the multiline operation?

You can use a (?-s) at the beginning of the pattern.

Or you could use the "Un/Comment" command on the Text menu. :-)

Enjoy,

R.

-- 
Rich Siegel                                 Bare Bones Software, Inc.
<sie...@barebones.com>                      <https://www.barebones.com/>

Someday I'll look back on all this and laugh... until they sedate me.

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "supp...@barebones.com" rather than 
posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/9BDAA606-7CB3-463C-B441-3AEE2471230B%40barebones.com.

Reply via email to