On Dec 11, 11:11 am, Mike E <[email protected]> wrote:
> Hello,
>
> I'm trying to do a find and replace. The following is what I'm trying
> to find:
>
> <?lassoscript
>         var: 'header' = @$__http_header__;
>         $header += 'Expires: Mon, 26 Jul 1997 05:00:00 GMT\r\n';
>         $header += 'Last-Modified: ' + (date_localtogmt: (date))->(format:
> '%a, %d %b %Y %H:%M:%S GMT') + '\r\n';
>         $header += 'Cache-Control: no-store, no-cache, must-revalidate\r\n';
>         $header += 'Cache-Control: post-check=0, pre-check=0\r\n';
>         $header += 'Pragma: no-cache\r\n';
> ?>

Use the grep option in the Find dialog:

<\?lassoscript(?s).+\?>

(?s) turns on the behavior where . matches \r.

I found this in Help > BBEdit Help > Grep Reference

Or load the following in your favorite browser to avoid the horrible
Apple Help interface:
file:///Applications/BBEdit.app/Contents/Resources/BBEdit%20Help/index_grep.htm

--steve

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

Reply via email to