Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- python pwb.py replace.py -dir:/home/riley/ryanbot -summary:'[[User:RyanBot|Bot:]] Removing duplicate {{[[Template:Check categories|Check categories]]}} template) ([[User:RyanBot/1|Task 1]]' '{{[Cc]heck categories(.*)}}\n{{[Cc]heck categories(.*)}}' '{{Check categories\1}}' -regex -pt:0 -cat:'Media needing category review as of 8 April 2016'
- regex..
- tog
- {{[Cc]heck categories(.*)}}\n{{[Cc]heck categories(.*)}}
- {{Check categories$1}}
- sep
- {{[Cc]heck categories(.*)}}\n(.*)\n{{[Cc]heck categories(.*)}}
- http://regexr.com/3d7f9
- {{Check categories$1}}\n$2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement