Skip to content

M_Cyjb_Compilers_RegularExpressions_LexRegex_Repeat_1

CYJB edited this page Mar 23, 2024 · 7 revisions

LexRegex.Repeat 方法 (Int32, Int32)

返回表示当前正则表达式重复多次的正则表达式。

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

语法

C#

public LexRegex Repeat(
	int minTimes,
	int maxTimes
)

参数

 

minTimes
Type: System.Int32
最少的重复次数。
maxTimes
Type: System.Int32
最多的重复次数。

返回值

Type: LexRegex
表示当前正则表达式重复多次的正则表达式。

参见

Reference

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

Clone this wiki locally