【发布时间】:2019-09-18 18:28:57
【问题描述】:
Kusto 似乎不支持正则表达式环视,因为当我尝试运行以下命令时出现以下错误。我使用了错误的语法吗?如果确实不支持此功能,我可以在哪里提供反馈以投票支持此功能?
正向前瞻测试:
print(extract("t(?=t)", 0, "http"))
预期输出:
tt实际错误:
Relop semantic error: 'extract()' has the following semantic error: SEM0420: Regex pattern is ill-formed: t(?=t).
负前瞻测试:
print(extract("t(?!t)", 0, "http"))
预期输出:
tp实际错误:
Relop semantic error: 'extract()' has the following semantic error: SEM0420: Regex pattern is ill-formed: t(?!t).
【问题讨论】:
标签: regex regex-lookarounds azure-data-explorer kql