import java.io.*;
import java.util.regex.*;
public class test1
{
    public static void main(String[] args)
    {
String str = "b龙";
        String regex="\b\w"; 
        Matcher m=Pattern.compile(regex).matcher(str);
        if(m.find()){
            System.out.println(m.group());
            
        }
    }
}
为什么提示\w是非法转义符?不是说他可以代表任意的字母汉字数字或下划线吗