Feb-22-2017, 04:56 PM
Because if you have
...x|BS||BS||BS|
, you get ...|BS
because the last |BS|
eats the last character of the second one. But that can work if you make sure you have only one substitution per call to re.sub().
Unless noted otherwise, code in my posts should be understood as "coding suggestions", and its use may require more neurones than the two necessary for Ctrl-C/Ctrl-V.
Your one-stop place for all your GIMP needs: gimp-forum.net
Your one-stop place for all your GIMP needs: gimp-forum.net