Bugs item #1816352, was opened at 2007-10-19 18:33 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1816352...
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: Open Resolution: None Priority: 5 Private: No Submitted By: John Vandenberg (zeroj) Assigned to: Nobody/Anonymous (nobody) Summary: replace.py regex '(?ms)^(.*)$'
Initial Comment: In order to use replace.py to "append" text, the regex needs to match the entire page using '(?ms)^(.*)$' '\1 text to add'. I thought that this was working a while ago, and I documented it as an example on [[m:Replace.py]] on September 24.
This doesnt appear to be working now, with the code infinitely looping: it continually matches the page and appends the replacement text.
The attached patch makes any regex that matches the entire page a special case.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1816352...