On Sep 30, 2011, at 9:40 AM, mweisman wrote:

> I have some very long sql queries that are stored in a single line
> with statements separated by a ; to get around a bug in a program I
> use that limits me to single line queries. When I need to make changes
> to the queries, I like to split them out into multiple lines to make
> them readable. Most text editors allow me to do a find and replace to
> replace ';' with ';\n' to split them out. BBEdit just inserts a
> literal '\n' in place of a new line, even when I have the grep button
> clicked.
> 
> Is there another way to use a new line as a replacement character?

Strange, I do, we all do, what you're describing all the time and it works 
fine.  BBEdit recognizes \n as a newline in search/replace.  You could also try 
\r or just copy a newline from a text document and paste it in.

[fletcher]

-- 
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 bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
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 "supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

Reply via email to