![]() | ヘルプをダウンロード(Windowsのみ) |
所有クラス: string
要件:MathScript RTモジュール
a = regex_convert(option, format)
従来名: regexptranslate
regex関数、regex_i関数、またはregex_replace関数を使用し、文字列を正規表現に変換します。
名前 | 説明 | ||||
---|---|---|---|---|---|
option | 文字列を正規表現に変換する方法を指定します。optionは以下の値を受け入れる文字列です。
|
||||
format | 正規表現に変換するパターンを指定します。 |
名前 | 説明 |
---|---|
a | 正規表現を返します。 |
次の表には、この関数のサポート特性 が記載されています。
LabVIEWランタイムエンジンでサポートされる | はい |
RTターゲットでサポートされる | はい |
RTで制限付きの実行時間に適する | 特性なし |
a1 = regex_convert('wildcard', '*')
a2 = regex_convert('escape', '\n')
a3 = regex('a.txt, b.doc, cd.xls, 223.vi, 89.txt', regex_convert('wildcard', '*.txt'))
a4 = regex_convert('wildcard', '*.txt')
役に立った
役に立たなかった