Router pattern with restfull app

When i write a pattern with regexp with rest router
‘POST,OPTIONS module:\w+/controller:\w+’=>’//create
and then i calle site/logout the last one responde la “not found” this is because the first regex override the router of logout why???
Helpme pleae