On Jul 29, 2007 Bruce Van Allen wrote:

> On 7/29/07 Patrick James wrote:
>> If you have this:
>> 
>> \foo
>> 
>> in a text file and search for it without "Use Grep" checked using the
> string \foo then it doesn't find it :(
>> 
>> The problem seems to be \f the special character for page breaks (form
> feed).
> 
> Yes. \f (formfeed), like \t (tab), \r (carriage return), etc., is a
> character construct, regardless of whether "Use Grep" is checked -- it's
> not a regular expression (grep) thing. 
> 
> To find the string "\foo", you have to escape the backslash:

Thank you :)

I learn something every day.

-- 
Patrick
<http://www.patrickjames.me.uk>



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