小编tra*_*er2的帖子

尝试检索错误 ORA-01804 的文本时出错

我在将 C++ 应用程序连接到 Oracle DB 时遇到问题,出现错误

"[OracleException] errcode: 1804, desc: Error while trying to retrieve text for error ORA-01804".

oracle

9
推荐指数
3
解决办法
6万
查看次数

如何匹配多行文字?

string str = "hello world!\r\naa=`xxx_1`\r\nhello world!";
sregex rx = sregex::compile(".+=`(.+)_1`");
smatch what;
if( regex_match( str, what, rx ) )
{
    std::cout << what[1] << '\n';
}
Run Code Online (Sandbox Code Playgroud)

这行不通,我使用boost.xpressive而不是boost.regex,如何匹配多行文本?

regex boost boost-xpressive

3
推荐指数
1
解决办法
1573
查看次数

标签 统计

boost ×1

boost-xpressive ×1

oracle ×1

regex ×1