正则表达式功能发生了什么变化?

What happened to the regex features?

Luis 曾经有一个功能叫做 "Regex Features"。您仍然可以在 google 中找到它。微软似乎已经删除了它曾经存在的所有证据。 路易斯仍然支持它吗? 我的 Luis 应用程序的 Json 仍然包含我制作的正则表达式功能,Luis 还在使用它吗?

引用自Microsoft LUIS Official Documentation

Pattern (regular expression) feature


This feature is deprecated. New pattern features cannot be added to LUIS. Any existing pattern features are supported until May 2018. Contribute to standard LUIS regular expression matching with a Pull Request to the Recognizers-Text Github repository.

在我看来,Microsoft 已经取消了 LUIS 中的正则表达式功能。在代码中处理正则表达式的唯一方法是使用以下命令在 GitHub 上克隆和使用他们新启动的 Microsoft.Recognizers.Text 项目:

git clone https://github.com/Microsoft/Recognizers-Tex.git
cd Recognizers-Text

您可以找到它的 SDK 参考 here