Skip to content

T_Cyjb_Compilers_RegularExpressions_RegexCharClass

CYJB edited this page Mar 23, 2024 · 8 revisions

RegexCharClass 类

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

继承层次

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

语法

C#

public sealed class RegexCharClass : IEquatable<RegexCharClass>

The RegexCharClass type exposes the following members.

方法

 

名称 说明
公共方法 Contains 返回当前字符类是否包含指定字符。
公共方法 Equals(Object) 返回当前对象是否等于另一对象。 (重写 Object.Equals(Object).)
公共方法 Equals(RegexCharClass) 返回当前对象是否等于同一类型的另一对象。
公共方法 GetCharSet 返回当前字符类对应的字符集合。
公共方法 GetHashCode 返回当前对象的哈希值。 (重写 Object.GetHashCode().)
公共方法 GetType Gets the Type of the current instance. (继承自 Object。)
公共方法静态成员 Parse 从正则表达式的字符类模式获取 RegexCharClass 对象。
公共方法 ToString 返回当前对象的字符串形式。 (重写 Object.ToString().)
  Back to Top

运算符

 

名称 说明
公共运算符静态成员 Equality 返回指定的 RegexCharClass 是否相等。
公共运算符静态成员 Inequality 返回指定的 RegexCharClass 是否不相等。
  Back to Top

参见

Reference

Cyjb.Compilers.RegularExpressions 命名空间

Clone this wiki locally