2014
11-07
11-07
PHP扩展之文本处理(二)——PCRE正则表达式语法7——内部选项设置
PCRE_CASELESS, PCRE_MULTILINE, PCRE_DOTALL, PCRE_UNGREEDY,PCRE_EXTRA, PCRE_EXTENDED andPCRE_DUPNAMES等模式修饰符设置可以在模式内部通过一个perl选项字符序列来设置,语法为:(?修饰符),可用的修饰符有:Internaloptionlettersifor PCRE_CASELESSmfor PCRE_MULTILINEsfor PCRE_DOTALLxfor PCRE_EXTENDEDUfor PCRE_UNGREEDYXfor PCRE_EXTRAJfor PCRE_INFO_JCHANGED比...
继续阅读 >