<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>could it be a bug in replace.py?</DIV>
<DIV 
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV style="FONT: 10pt tahoma">
<DIV>&nbsp;</DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=wikiposta@gmail.com 
href="mailto:wikiposta@gmail.com">Bináris</A> </DIV>
<DIV><B>Sent:</B> Sunday, January 16, 2011 11:39 AM</DIV>
<DIV><B>To:</B> <A title=pywikipedia-l@lists.wikimedia.org 
href="mailto:pywikipedia-l@lists.wikimedia.org">Pywikipedia discussion list</A> 
</DIV>
<DIV><B>Subject:</B> Re: [Pywikipedia-l] problem with 
replace.py</DIV></DIV></DIV>
<DIV>&nbsp;</DIV></DIV>
<DIV 
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">And 
it is likely that once you have specified -regex, you have to type \| instead of 
|, because | has a special meaning in regexes.<BR><BR>
<DIV class=gmail_quote>2011/1/16 Bináris <SPAN dir=ltr>&lt;<A 
href="mailto:wikiposta@gmail.com">wikiposta@gmail.com</A>&gt;</SPAN><BR>
<BLOCKQUOTE 
style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex" 
class=gmail_quote>First, you must specify -regex in the command if you want 
  "\n" to mean a newline instead of literal \n.<BR>Second, "-cat:Dumpers" is not 
  correct, use -cat:"Dumpers" or simply -cat:Dumpers instead, if you want to 
  work with this category. ("" is only necessary if your category name has a 
  space.)<BR><BR>
  <DIV class=gmail_quote>2011/1/16 CobraSA <SPAN dir=ltr>&lt;<A 
  href="mailto:CobraSA@live.com" 
  target=_blank>CobraSA@live.com</A>&gt;</SPAN><BR>
  <BLOCKQUOTE 
  style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex" 
  class=gmail_quote>
    <DIV class=im>
    <DIV dir=ltr>
    <DIV dir=ltr>
    <DIV style="FONT-FAMILY: 'Calibri'; COLOR: rgb(0,0,0); FONT-SIZE: 12pt">
    <DIV>
    <DIV 
    style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: rgb(0,0,0); FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">command: 
    D:\Development\pywikibot&gt;python replace.py "-cat:Dumpers" "|\n|-" 
    "|Yes\n|-"</DIV></DIV>
    <DIV>
    <DIV 
    style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: rgb(0,0,0); FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">It 
    makes no chnge even the the dumpers page are full of tables with | empty 
    followed by |-</DIV></DIV>
    <DIV>
    <DIV 
    style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: rgb(0,0,0); FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">&nbsp;</DIV></DIV>
    <DIV>
    <DIV 
    style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: rgb(0,0,0); FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">any 
    help please?</DIV></DIV></DIV></DIV></DIV>
    <DIV>&nbsp;</DIV></DIV>_______________________________________________<BR>Pywikipedia-l 
    mailing list<BR><A href="mailto:Pywikipedia-l@lists.wikimedia.org" 
    target=_blank>Pywikipedia-l@lists.wikimedia.org</A><BR><A 
    href="https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l" 
    target=_blank>https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l</A><BR><BR></BLOCKQUOTE></DIV><BR><BR 
  clear=all><BR>-- <BR><FONT 
color=#888888>Bináris<BR></FONT></BLOCKQUOTE></DIV><BR><BR clear=all><BR>-- 
<BR>Bináris<BR>
<P>
<HR>
_______________________________________________<BR>Pywikipedia-l mailing 
list<BR>Pywikipedia-l@lists.wikimedia.org<BR>https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l<BR></DIV></DIV></DIV></BODY></HTML>