正则表达式 2016-03-16 本文已影响13人 盗花 1.(?P<name>pattern) 含义:将利用pattern匹配到的字符串命名为name,在创造url链接时相当有用,如django里为view视图传入request。