On Thursday, March 17, 2011, Webmaster <[email protected]> wrote:

Is there some symbol or code that BBEdit recognizes as EOF
that I can use in a global find and replace pattern?

Yes. When using Grep, "\z" matches at the end of the document. "\Z" matches at the end of the document, *or* if the document ends with a blank line, it will match before the last line break.

(Or so says the manual, at any rate - page 169 in the PDF available on the Help menu. I haven't tried it.)

Enjoy,

R.
--
Rich Siegel                                 Bare Bones Software, Inc.
<[email protected]>                      <http://www.barebones.com/>

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

--
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>

Reply via email to