它应该接受以string@开头的字符串,然后所有字符(除了#、\或任何空白字符)都可以跟随。只有在后面跟着3位数时,\才能出现。当我在regex101.com和phpliveregex.com上用字符串phpliveregex.com测试这个正则表达式时,没有找到匹配项(正确),但是preg_match()返回相同字符串的true# this returns false, as it should
preg_match($regex, "string@test\07test"); # this ret