PHP:preg_match
preg_match — 执行匹配正则表达式说明int preg_match ( string $pattern , string $subject [, array &$matches [, int $flags = 0 [, int $offset = 0 ]]] )flags可以被设置为以下标记值:PREG_OFFSET_CAPTURE (这会改变填充到matc...