标签: java special-characters case-sensitive mongodb-java
DBObject ref = new BasicDBObject(); ref.put("name", Pattern.compile("TEST_abc" , Pattern.CASE_INSENSITIVE)); DBCursor cur = coll.find(ref);
这里我想添加特殊字符。