| Dvorapa added a comment. |
In T57078#3337475, @valhallasw wrote:In T57078#3337396, @Dvorapa wrote:
- -grep matches regex in page title
No, -grep matches the page contents. -titleregex matches the page title. This is clearly documented (https://github.com/wikimedia/pywikibot-core/blob/master/pywikibot/pagegenerators.py#L307, https://github.com/wikimedia/pywikibot-core/blob/master/pywikibot/pagegenerators.py#L226), and corresponds (as far as I can see) to the actual code.
That's weird, for me -grep never worked for page contents at all. I'll try next time
TASK DETAIL
EMAIL PREFERENCES
To: Dvorapa
Cc: Dvorapa, valhallasw, binbot, Omegat, Legoktm, Ricordisamoa, pywikibot-bugs-list, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, jayvdb, Dalba, Masti, Alchimista, Rxy
Cc: Dvorapa, valhallasw, binbot, Omegat, Legoktm, Ricordisamoa, pywikibot-bugs-list, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, jayvdb, Dalba, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
