I can have value =1 or value = 0
for another pattern

but I retried the command and it works 

I don't know why didn't works the first time


Le mercredi 8 avril 2020 14:06:23 UTC+2, Jean-Christophe Helary a écrit :
>
> What about you change 
>
> value="1" 
>
> into 
>
> value="0.99" 
>
> and 
>
> value="0" 
>
> into 
>
> value="0.01" 
>
> without worrying about the rest ? 
>
> Jean-Christophe 
>
> > On Apr 8, 2020, at 20:09, regis leon <[email protected] <javascript:>> 
> wrote: 
> > 
> > Hello 
> > 
> > on a XML I need to change 
> > 
> >                                     <keyframe 
> time="650593944000/180000000s" value="1"/> 
> >                                     <keyframe 
> time="650599950000/180000000s" value="0"/> 
> >                             
> > 
> > 
> > to this 
> > 
> > 
> >                                     <keyframe 
> time="650593944000/180000000s" value="0.99"/> 
> >                                     <keyframe 
> time="650599950000/180000000s" value="0.01"/> 
> >                               
> > 
> > 
> > But I need to keep those values between " " the same for all 
> > 
> > because it can be like this 
> > 
> > 
> >                                     <keyframe 
> time="650023374000/180000000s" value="1"/> 
> >                                     <keyframe 
> time="650029380000/180000000s" value="0"/> 
> >                           
> > 
> > 
> > 
> > I'm able to find all those line by 
> > 
> > <keyframe time="(\d+)/(\d+)s" value="1"/>\n                             
>       
> > <keyframe time="(\d+)/(\d+)s" value="0"/> 
> > 
> > but if I try to replace  by                               
> >                                     
> >                                     <keyframe time="\1/\2s" 
> value="0.99"/>\n                                   
> >                                     <keyframe time="\3/\4s" 
> value="0.01"/> 
> > 
> > I can't keep those values between " " 
> > 
> > 
> > Help 
> > 
> > -- 
> > This is the BBEdit Talk public discussion group. If you have a feature 
> request or need technical support, please email "[email protected] 
> <javascript:>" rather than posting here. Follow @bbedit on Twitter: <
> https://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] <javascript:>. 
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/bbedit/b639dbdd-a2bb-4cb2-96f9-8b31b681d760%40googlegroups.com.
>  
>
>
> Jean-Christophe Helary 
> ----------------------------------------------- 
> http://mac4translators.blogspot.com @brandelune 
>
>
>

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "[email protected]" rather than 
posting here. Follow @bbedit on Twitter: <https://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 view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/5d3ed95c-48d4-4667-890b-1deeeb545c37%40googlegroups.com.

Reply via email to