Thread:Flanqer/@comment-31595794-20190901053008/@comment-24931587-20190901161747

titleregexp is documented in the DPL manual. It works because it avoids testing the part of the name that contains the apostrophe, and just checks for what looks like a year at the end of the name.

Odds are, if the game and the wiki are around for another 81 years, the templates will be rewritten several times over to drop obsolete code, use new features, etc. But if you really want to allow any 4-digit year, you could use:
 * titleregexp = [0-9]{4}$