<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>didn’t work I mean, nothing was changed</DIV>
<DIV>Yes I’m sure there’s no space after the “|” 
<DIV 
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none"></DIV>
<DIV style="FONT: 10pt tahoma">
<DIV><FONT size=3 face=Calibri></FONT>&nbsp;</DIV>
<DIV><FONT size=3 face=Calibri></FONT>&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 12:20 PM</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">What 
does it mean "didn’t work at all"? What have you seen on the screen?<BR>Are you 
sure those are really empty, and no space in them?<BR><BR>By the way, now I 
remember, that earlier I had problems, too, when I wanted to substitute a 
newline (searching works well).<BR><BR>
<DIV class=gmail_quote>2011/1/16 CobraSA <SPAN dir=ltr>&lt;<A 
href="mailto:CobraSA@live.com">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 dir=ltr>
  <DIV dir=ltr>
  <DIV style="FONT-FAMILY: 'Calibri'; COLOR: rgb(0,0,0); FONT-SIZE: 12pt">
  <DIV>Hi</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Thanks for helping</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>D:\Development\pywikibot&gt;python replace.py -cat:Dumpers -regex 
  "\|\n\|-" "\|Yes\n\|-"</DIV>
  <DIV>didn’t work at all</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>and without the \ before |&nbsp; it sort of freeze</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">
  <DIV style="FONT: 10pt tahoma">
  <DIV><FONT size=3 face=Calibri></FONT>&nbsp;</DIV>
  <DIV style="BACKGROUND: rgb(245,245,245)">
  <DIV><B>From:</B> <A title=wikiposta@gmail.com 
  href="mailto:wikiposta@gmail.com" target=_blank>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" target=_blank>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: rgb(0,0,0); FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
  <DIV>
  <DIV></DIV>
  <DIV class=h5>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" 
  target=_blank>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>
      <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></DIV></DIV>
  <HR>

  <DIV class=im>_______________________________________________<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></DIV></DIV></DIV></DIV></DIV><BR>_______________________________________________<BR>Pywikipedia-l 
  mailing list<BR><A 
  href="mailto:Pywikipedia-l@lists.wikimedia.org">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>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>