View Single Post
Old 11-07-2018, 10:34 AM   #242
jcn363
absolute beginner
jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.
 
jcn363's Avatar
 
Posts: 323
Karma: 1750999
Join Date: May 2017
Location: Go with the wind (43°19'17.7"N 2°00'19.4"W)
Device: ka1
Quote:
Originally Posted by geek1011 View Post
I have released kobopatch v0.10.3 with a new MustMatchLength option for FindReplaceString and ReplaceString. This option will make sure the replacement string is not shorter than the original (in addition to the default check to make sure it is not longer). This is useful for CSS string replacements. The behaviour of this option (and lack thereof) is fully backwards-compatible.

I have updated the patches for 4.11.11980 to use this new option.

geek1011 please,
could you add the error line number or the replace statement into log.txt when error trigger?
Code:
validating patch file
        --> length of strings must match (and not be shorter) in `PROGRESIVE`
And check the code. No bother if the lenght is longer o shorter the message is allways the same (and not be shorter).
Thanks in advance.
jcn363 is offline   Reply With Quote