The meaning of /u, /i, /s in preg_match regular match in PHP, phppreg_match
What is /u /i /s in preg_match regular match in PHP Meaning
/u means matching according to unicode (utf-8) (mainly for multi-bytes such as Chinese characters)
/i means case-insensitive (if there is a in the expression, then A is also the matching object)
/s means treat the string as a single line to match
http://www.bkjia.com/PHPjc/985270.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/985270.htmlTechArticleThe meaning of /u, /i, /s in preg_match regular matching in PHP, phppreg_match The preg_match regular matching in PHP /u /i /s What does /u mean matching according to unicode (utf-8) (mainly for multi-byte ratio...