摘要: 语法: int preg_match(string pattern, string subject, array [matches]); 返回值: 整数/数组 函数种类: 资料处理 内容说明 在 subject 字符串中搜索与 pattern 给出的正则表达式相匹配的内容。 如果提供了 matches,则其会被搜索的结果所填充。$matches[0] 将包含与整个模式匹配的文本,$matches... 阅读全文
posted @ 2009-07-24 14:59 尚远 阅读(587) 评论(0) 推荐(0)