System::Text::RegularExpressions::Regex::Escape 方法

Regex::Escape method

转义特殊字符,以便将字符串用作模式的一部分。

static String System::Text::RegularExpressions::Regex::Escape(const String &str)
参数类型描述
strconst String&String 用于转义其中的特殊字符。

ReturnValue

String with escaped special characters.

另见