I never use \ in the second expression (the replacement). It causes only
trouble.
Please detail what "that's don't work." means, so that we can help
more.
2016-08-29 19:37 GMT+02:00 Кирилл Хохлов <kirill_9608(a)mail.ru>ru>:
Sorry for doubling. Forgot about subject.
Hello, can you help please hot to add/remove spaces in text
For exmaple "J.R.R.Tolkien" should transform to "J. R. R. Tolkien"
I tried to use replace.py and user-fixes.py
(u' \. ', u'\. '),
(u' \..?', u'\. .?'),
(u'.?\..?', u'.?\. .?'),
But that's don't work.
Hope on your help, thanks
--
Кирилл Хохлов/Kirill Khokhlov
_______________________________________________
pywikibot mailing list
pywikibot(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot
--
Bináris