On 2009-10-16 at 4:35 AM, [email protected] (Christopher 
Stone) wrote:
>There *is* a switch to make '.*' span line endings - yes?

Assuming you mean in regular expressions ("grep patterns"), yes, 
of course. BBEdit uses PCRE search patterns (PCRE == "Perl 
Compatible Regular Expressions").

Include (?s) in your search pattern , or enclose the relevant 
portion of it with (?s: [your sub-pattern here]). Note the colon 
(':') in the latter.

 From the manual (p 186):
s — By default, the magic dot metacharacter . matches any 
character except return ("\r"). If you turn this option on with 
(?s), however, dot will match any character. Thus, the pattern 
(?s).+ will match an entire document.

HTH.



    - Bruce

_bruce__van_allen__santa_cruz_ca_


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