The expression. If the expression is not provided, the option will work for all previous parameters, and when the expression is provided, the option will only work for the expression.
(x)
If need to group the input, Default is false.
(x)(y)
If need to group each items. Default is false.
Default: false, not group.
(x)*
If need to group qualified item, work with qualifier. Default: true.
The group name. work with group
[^xy]
If it is a negated set. Default is false.
(?:x)
If need not to remember the group, work with group. Default is false.
(?:x)*
If need not to remember the group qualified item, work with qualifier. Default is false.
x|y
If using or operations for items. Default is false.
qualifier: would be one of:
?
: zero or one
+
: one or more
*
: zero or more
{n}
: n
times of occurrences
{n, }
: n
times or more of occurrences
{n, m}
: n
to m
times of occurrences
[xy]
If it is a set. Default is false.
Generated using TypeDoc
RegExp Options