我有以下字符串:
"GET /phpmyadmin HTTP/1.1"
我想要python中的regex,它可以分离get、phpmyadmin、http和1.1,比如method、localhost、protocol和version。