共用方式為


IntentPattern class

著作權(c) Microsoft公司。 保留所有權利。 根據 MIT 授權授權。

建構函式

IntentPattern(string, string)

初始化 IntentPattern 類別的新實例。

屬性

intent

取得意圖。 設定意圖。

pattern

取得模式。 設定模式

regex

建構函式詳細資料

IntentPattern(string, string)

初始化 IntentPattern 類別的新實例。

new IntentPattern(intent?: string, pattern?: string)

參數

intent

string

意圖。

pattern

string

要比對的 regex 模式。

屬性詳細資料

intent

取得意圖。 設定意圖。

string intent

屬性值

string

意圖。

pattern

取得模式。 設定模式

string pattern

屬性值

string

模式。

regex

RegExp regex

屬性值

RegExp

具有指定模式的 RegExp 實例。