I would keep `(\d+/|download.php\?)`, your pattern is very unreadable.