| Dvorapa added a comment. |
In T57078#2607540, @valhallasw wrote:As far as I can see, the -grep option provides this:
-grep A regular _expression_ that needs to match the article otherwise the page won't be returned. Multiple -grep:regexpr can be provided and the page will be returned if content is matched by any of the regexpr provided. Case insensitive regular expressions will be used and dot matches any character, including a newline.
- -grep matches regex in page title
- -search:'insource://' matches regex inside page content. This is not ideal (doesn't work with ^,$,\s,...), but works
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
