Feature Requests item #2842142, was opened at 2009-08-21 20:38 Message generated for change (Comment added) made by xqt You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2842142...
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 Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: replace.py -match option
Initial Comment: Hello! It would be nice, if you add -match option to replace.py, that means that script will work only on pages which match some regexp.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-08-23 20:13
Message: do you expect sth like -requiretext:XYZ (in combination with -regex) which could be the opposite of -excepttext:XYZ, analogous to the existing -requiretitle vs -excepttitle ?
----------------------------------------------------------------------
Comment By: DixonD (dixond) Date: 2009-08-22 14:10
Message: -regex is used for replacement. How can we solve task such "replace text using some regex if article match some regex"?
----------------------------------------------------------------------
Comment By: Russell Blau (russblau) Date: 2009-08-21 21:06
Message: How would this be different than the "-regex" option that already exists?
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2842142...
pywikipedia-bugs@lists.wikimedia.org