Yes, that’s correct. I overlooked that information from your first post. Sorry.
I don’t think there is a solution right now to extract two capture groups and define user action from other metadata than URL. You can use the JS API to name your action (if it’s suitable for your case). Isn’t it possible to capture the information you need from another place?
There another much more powerful rule engine for user actions planned, but I don’t know when this is going to be available.