2011-11-21 60 views

回答

1

(?P<name>patt)named subpattern。这意味着您可以通过查看$matches['id']以及通常的$matches[1]来访问该子模式的匹配。