模糊匹配字母大小写 Pattern pattern = Pattern.compile(aa,Pattern.CASE_INSENSITIVE); aa为数据源,其中Pattern.CASE_INSENSITIVE这段代码实现了模糊查询大小写。