Regular Expressions 101

Community Patterns

1...34567...881

Mediawiki History Dump filenames

1

Regular Expression
Python

r"
(\d{4}-\d{2})\.([a-z-_]{2,12})wiki\.(all-time|\d{4}|\d{4}-\d{2})\.tsv(\..+)?
"
gm

Description

Matches filenames of MediaWiki history dumps.

Submitted by CristianCantoro - 3 months ago