that's a really good explanation. What is the first (?x) for in your find string? I read that as searching for an x. My limited knowledge of Grep expects (?\x )
Thanks Rob On Thursday, October 17, 2024 at 8:00:07 PM UTC+2 Neil Faiman wrote: Find: (?x) (?# 1: Leading space) [ ]* (?# 2: Fragment) ([^\n,]*?) (?# 3: trailing space) [ ]* (?# 4: separator) (?:,|(\n)) Replace: [[\1]]|\2 -- This is the BBEdit Talk public discussion group. If you have a feature request or believe that the application isn't working correctly, please email "[email protected]" rather than posting here. Follow @bbedit on Mastodon: <https://mastodon.social/@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 view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/d73fc2dd-aea7-4025-bbba-ad267deab552n%40googlegroups.com.
