Am 17.01.2017 um 23:25 schrieb Danny Milosavljevic: > + ;(substitute* "dulwich/hooks.py" > + ; (("f[.]write[(]args[[]0[]][)]") > "f.write(args[0].encode('utf-8'))"))
This is an interesting but quite unusual way to escape the special characters. I suggest using the more common type with back-slash, esp. since "[[]" and "[]]" are very hard to get. -- Regards Hartmut Goebel | Hartmut Goebel | h.goe...@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |