Hey Chris,

\x0D or \x{0D} or \x{000D}
> Look on page 149 of the manual in Chapter 7: Searching.


you are right, they even give a literal example for CR (p. 171). I’m deeply 
ashamed: as a technical writer, making my living writing manuals, I *really 
should* read other people’s manuals ;) – especially such nice ones.

– Tom



On Thursday, June 1, 2017 at 8:55:54 PM UTC+2, Christopher Stone wrote:
>
> On 06/01/2017, at 03:28, Tom <[email protected] <javascript:>> wrote:
>
> If you really mean Carriage Return (CR) then I don’t think this can be 
> forced with a regex in BBEdit.
>
> ------------------------------
>
> Hey Tom,
>
> Sure it can, although the method is not exactly obvious.
>
> \x0D or \x{0D} or \x{000D}
>
> Look on page 149 of the manual in Chapter 7: Searching.
>
> Here's one more way to do the job using a positive lookahead assertion:
>
> Find:
>
> ^(.+?)(?= *— *).+\s+
>
> Replace:
>
> \1\n
>
> --
> Best Regards,
> Chris
>
>

-- 
This is the BBEdit Talk public discussion group. 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>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/bbedit.

Reply via email to