Apologies if I'm totally wrong on what you are trying to achieve, but ist „Using Selection for Find“ from the Search menu (cmd+E by default) what you are looking for? It puts your string into the Find section of the - well - Find dialog and translates all special characters (e.g. \t gets \\t). I use the key combo cmd+E and cmd+F all the time. You can even copy it from the Find dialog if you need the string someplace else.
Regards, Roland On Fri, Mar 9, 2018 at 5:21 AM, Rick Gordon <[email protected]> wrote: > I meant "use the result IN a (longer) regex string" not "as a regex > string." > > -------------------- > On March 8, 2018 at 8:20:15 PM [-0800], > Rick Gordon wrote in an email entitled > "Re: Regex to Escape Regex Characters in Any String": > >> …so that I can use the result as a regex search string, meaning what it's >> supposed to. >> > ___________________________________________ > RICK GORDON > EMERALD VALLEY GRAPHICS AND CONSULTING > ___________________________________________ > WWW: http://www.shelterpub.com > > -- > 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. > -- 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.
