输入banner图图片脚本导航/分类

php中正则的子模式问题

子模式正则php

preg_ match('/(\d){2}/','abc12ef',$arr)
为什么子模式输出的是2,而不是1呢?