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.
我想知道是否有办法在 ICU (c++) 库中引用字符串。存在 "\Q" + string + "\E" 但我生成的输入是作为提供的字符串输入的。似乎没有任何 ICU 报价正则表达式方法。只需将字符串中的所有 "\E" 更改为 \\E 即可。
我会在您的用例中提交功能请求。我认为目前没有这样做的功能。