registerCpRoutes gives 404 In my main plugin file I have the following code in my registerCpRoutes fucntion:

public function registerCpRoutes()
{
    return array(
        'campaignreports/subscribers/detail\/(?P&lt;listId&gt;\d+)' =&gt; 'campaignreports/subscribers/_detail/'
    );
}


I have a _detail.html template located in /templates/subscribers/_detail.html

For some reason this doesn't seem to work. I keep on getting a "Page not found" error.
As far as I can tell I have followed the docs on dynamic routing
Any ideas on what is going wrong here?

PS: I have uninstalled &amp; reinstalled the plugin
Not sure why you are escaping the / right in front of the regex. Maybe thats the issue?