System::Text::RegularExpressions::Regex::Escape 方法
Regex::Escape method
转义特殊字符,以便将字符串用作模式的一部分。
static String System::Text::RegularExpressions::Regex::Escape(const String &str)
| 参数 | 类型 | 描述 |
|---|---|---|
| str | const String& | String 用于转义其中的特殊字符。 |
ReturnValue
String with escaped special characters.
另见
- Class String
- Class Regex
- Namespace System::Text::RegularExpressions
- Library Aspose.Font for C++