In rewrite mode, it will cause some routing failure

Thinks for your work,but i can't understand why do this
It will cause some routing failure
Example:
use nginx rewrite rewrite ^/path/(.*)$ /path/index.php?r=$1;
and set routing rules array('login'=>'account/login')

http://host/path/login
this url can't be work;