Thanks, Neil. I'd been hoping to avoid scratch documents, but that WOULD
do the job, so why not?
Thanks again,
Rick Gordon
On April 30, 2020 at 5:08:11 PM [-0700], Neil Faiman wrote in an email
entitled "Re: How Can I Search for All Lines NOT Matching a Complex Regex
How about this?
Copy the entire document to a new document.
Use the add line numbers command to add line numbers to the lines in the new
document.
Use the process lines containing command on the new document, using your grep
pattern, with the output options parameter set to { copying to
I'm trying to AppleScript a solution using BBEdit (using AppleScript
because there are multi-application communications) where I could flag
the line number and content of all lines in a document not matching a
complex regex string.
For instance, if I wanted to flag all lines in document that