Regular Expressions 101

Community Patterns

Community Library Entry

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 - 9 months ago