Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何找到包含字符 0x1F 的文档?
{"描述":new RegExp("▼")}
返回 0 个结果。此外,搜索换行符返回 0 结果,尽管它存在于某些文档的描述中:
{"描述":new RegExp("♪")}
在 Mongo shell 上,您可以执行以下操作:
db.char.find( { "Description": /\x1F/ } );