So after I complained a bit to my coworkers in Slack, they proved their 
superior Google-fu. For posterity, the regex solution turns out to be based 
on this StackOverflow answer: https://stackoverflow.com/a/26255717/70876

Find:
(\G|^) {4}

Replace:
\t

The \G switch is new to me and apparently "magical". I'm still not sure I 
understand what it's doing but it completely fulfills my request. I've 
saved it in BBEdit as a memorized Pattern and will be able to retain my 
muscle memory but not have to re-apply my old regex repeatedly.

Thanks again everyone.
--Brian

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

Reply via email to