Dinoguy1000 added a comment.

\p{L} matches a character with the Unicode "letter" category; \P{L} matches a character not in that category. So the regex File:\P{L}*\.[^.]+ matches, approximately, any filenames containing only non-letter characters followed by a period and an extension. If I had to guess, numbers don't have the "letter" Unicode category, and so are matched by \P{L} (the same as the whitespace, dashes, parentheses, and periods), though I can't say why the Flickr import wouldn't trigger that regex (maybe the Flickr import tool bypasses the title blacklist?).


TASK DETAIL
https://phabricator.wikimedia.org/T209200

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Dinoguy1000
Cc: Dinoguy1000, Aklapper, pywikibot-bugs-list, Discasto, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Poyekhali, Avicennasis, Wong128hk, mys_721tx, El_Grafo, jayvdb, Dalba, Masti, Alchimista, Steinsplitter, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to