Aram added a comment.
Without escaping:
PS C:\Pywikibot> python pwb.py -simulate replace -page:ئانیشک
-site:wiktionary:ckb -regex "{{wikipedia}}\n?" "" -summary:"Replace test"
ERROR: Incomplete command line pattern replacement pair:
['{{wikipedia}}\\n?']
command.log:
2024-05-21 14:30:43 rg18846 Python 3.12.3 wrapper "-simulate" "replace"
"-page:ئانیشک" "-site:wiktionary:ckb" "-regex" "{{wikipedia}}\n?"
"-summary:Replace test"
2024-05-21 14:30:44 rg18846 Python 3.12.3 replace "-page:ئانیشک"
"-site:wiktionary:ckb" "-regex" "{{wikipedia}}\n?" "-summary:Replace test"
TASK DETAIL
https://phabricator.wikimedia.org/T364689
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Aram
Cc: binbot, Xqt, Aklapper, pywikibot-bugs-list, Aram, mevo, PotsdamLamb,
Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi,
Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx,
jayvdb, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]