Bugs item #3496550, was opened at 2012-03-03 05:32
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=349655…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: General
Group: None
Status: Closed
Resolution: Duplicate
Priority: 5
Private: No
Submitted By: Paolo Benvenuto ()
Assigned to: xqt (xqt)
Summary: new lines not
managed correctly
Initial Comment:
$ python version.py
Pywikipedia [http] trunk/pywikipedia (r9946, 2012/03/01, 09:52:33)
Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:48)
[GCC 4.4.5]
config-settings:
use_api = True
use_api_login = True
unicode test: triggers problem #3081100
Linux debian
I'm using the bot on the server itself where mediawiki is installed.
If I insert a new line with the replace.py script (e.g., with the replace string like
"asdf\n"), a subsequent regex search of the same string (e.g,
"asdf\n") won't match, while "asdf\r\n" will match.
It seems that when the bot must insert \n, actualy it inserts \r\n.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2012-03-04 06:45
Message:
see #3496542
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=349655…