使用这条正则解析字符串
字符串1
duration: 217.990 ms statement: select * from act_hi_actinst
输出结果正确
字符串2
duration: 14980.120 ms execute <unnamed>: is_repeat_back_24_nums timestampstart_time <= $8::timestamp
解析结果错乱
这是哪里出问题了呢,研究半天也没搞懂哎
使用这条正则解析字符串
字符串1
duration: 217.990 ms statement: select * from act_hi_actinst
输出结果正确
字符串2
duration: 14980.120 ms execute <unnamed>: is_repeat_back_24_nums timestampstart_time <= $8::timestamp
解析结果错乱
这是哪里出问题了呢,研究半天也没搞懂哎
换成这个(.*?):(.*?\s*ms)\s*([^:]*):(.*)