RegExp access middleware for Express