I would use a regex route like myblog/:categories/:articleid then i would extract the individual categories myself from the single categories route segment in the controller or in a front controller plugin. I think that would be the simplest way.
If you need more control directly in the router i think you could put something together with the route chain but i havent dived into that yet so i cant offer advice there.