正则匹配微信emoji失败
1 2 3 | Pattern p = Pattern.compile( "[\ud83c\udc00-\ud83c\udfff]|[\ud83d\udc00-\ud83d\udfff]|[\u2600-\u27ff]" ,Pattern.UNICODE_CASE|Pattern.CASE_INSENSITIVE);
Matcher m = p.matcher(keyword);
m.find();
|
匹配不到
如果是"\ud83c\udc00"这样的字符串可以匹配,但直接的不行