mongodb使用正则查询

使用java类java.util.regex.Pattern

{“key”:#}

Pattern.compile("")

不能用{“key”:\*\} 会提示格式化json错误

猜你喜欢

转载自sunjiayao.iteye.com/blog/2117372