Last modified: 2014-09-02 01:13:12 UTC
Originally from: http://sourceforge.net/p/pywikipediabot/feature-requests/219/ Reported by: Anonymous user Created on: 2009-08-21 18:38:13 Subject: replace.py -match option Original description: 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.
How would this be different than the "-regex" option that already exists?
- **status**: open --> pending
-regex is used for replacement. How can we solve task such "replace text using some regex if article match some regex"?
- **status**: pending --> open
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 ?
Yep, something like that.