Advertisement
Riley_Huntley

ryan

Apr 14th, 2016
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. 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'
  2. regex..
  3.  
  4. tog
  5. {{[Cc]heck categories(.*)}}\n{{[Cc]heck categories(.*)}}
  6.  
  7. {{Check categories$1}}
  8.  
  9. sep
  10. {{[Cc]heck categories(.*)}}\n(.*)\n{{[Cc]heck categories(.*)}}
  11. http://regexr.com/3d7f9
  12. {{Check categories$1}}\n$2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement