Skip to content

M_Cyjb_Compilers_RegularExpressions_LexRegex_Symbol_1

CYJB edited this page Mar 23, 2024 · 7 revisions

LexRegex.Symbol 方法 (String)

返回表示字符类的正则表达式。

Namespace: Cyjb.Compilers.RegularExpressions
Assembly: Cyjb.Compilers (in Cyjb.Compilers.dll) Version: 1.0.20+d347ea0351607fb282fdf60a5301f9cccb3ab27e

语法

C#

public static LexRegex Symbol(
	string pattern
)

参数

 

pattern
Type: System.String
正则表达式表示的字符类的模式。

返回值

Type: LexRegex
表示字符类的正则表达式。

Exceptions

 

异常 条件
ArgumentNullException pattern 为 null。

参见

Reference

LexRegex 类
Symbol 重载
Cyjb.Compilers.RegularExpressions 命名空间

Clone this wiki locally