Patches item #1808247, was opened at 2007-10-05 14:03 Message generated for change (Settings changed) made by leogregianin You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1808247...
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: None Group: None
Status: Closed Resolution: Fixed
Priority: 5 Private: No Submitted By: Filnik (filnik) Assigned to: Nobody/Anonymous (nobody) Summary: Still me... replace.py and \n
Initial Comment: millosh has log-in on #pywikipediabot today, asking how you use "newlines" with regex because \n seems not working with replace.py.
I've asked him if he his on windows and he reply not to be on that OS but he can't use <enter> instead of \n.
I still think that the "limiter" for win32 is a bit weird and useless, also because if you write a regex on windows you have to replace all the \n with "enters".
So... can you delete the "limiter"? Thanx, Filnik
----------------------------------------------------------------------
Comment By: Filnik (filnik) Date: 2007-10-05 14:28
Message: Logged In: YES user_id=1834469 Originator: YES
Well... if there is a better solution, post a patch (or apply the changes... ;-)). Because, 'till now, my hack seems to work perfectly. Imho it's a waste not to use that also on other platforms. Filnik
----------------------------------------------------------------------
Comment By: Francesco Cosoleto (cosoleto) Date: 2007-10-05 14:25
Message: Logged In: YES user_id=181280 Originator: NO
Yes, this problem isn't OS related: simply - unlike DOS/Windows - in typical UNIX shells to can type newline characters without using '\n'. In #1769869 I have mentioned a possible solution.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1808247...