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]> 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]" 
> 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/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/8AF0B9FF-1C2C-4F99-B17B-00D34E0B01F3%40traduction-libre.org.

Reply via email to