[問題] 請問匹配字尾用/u代表?

作者: jimshsu (jims)   2011-09-23 11:32:00
語言: php的preg
請問各位,我看到一段表示式,他字尾用u代表的意思為何?
一般來說不是匹配針對/ /內的規則嗎?
preg_match("/^([a-z].*)\)$/u",$words,$arr))
作者: bibo9901 (function(){})()   2011-09-23 11:49:00
這是 PCRE Pattern 的 Modifier
作者: godspeedlee (妳,我可以)   2011-09-24 00:46:00
unicode(沒記錯的話)

Links booklink

Contact Us: admin [ a t ] ucptt.com