Thanks!

Am Donnerstag, 3. November 2016 19:09:52 UTC+1 schrieb Patrick Woolsey:
>
> You need only add a leading zero to the first backreference to 
> make it unambiguous and ensure the following zero is treated 
> literally, i.e. 
>
> Replace:    \020\1 
>
> since \2 and \02 both refer to the second subpattern. 
>
>
> Regards, 
>
>   Patrick Woolsey 
> == 
> Bare Bones Software, Inc.             <http://www.barebones.com/> 
>
>
>
>
> On 11/3/16 at 1:56 PM, [email protected] <javascript:> (Thomas 
> Falk) wrote: 
>
> >Hi there, 
> >i have a rather "simple" grep problem. I would like to add a 
> >zero between 2 strings and cannot figure out how to write the 
> >replacement pattern. 
> > 
> >Say, the line is 
> >foobar 
> >My regex find is 
> >(foo)(bar) 
> > 
> >So: How to escape the "0" to get "bar0foo"? 
> > 
> >\20\1 is obviously wrong. 
> > 
> >Yours 
> >Tom 
>
>
>

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