Options
All
  • Public
  • Public/Protected
  • All
Menu

RegExp Options

Hierarchy

  • RegExpOptions

Index

Constructors

constructor

Properties

Optional expression

expression: RegExpParam

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.

Optional group

group: boolean

(x) If need to group the input, Default is false.

Optional groupItem

groupItem: boolean

(x)(y) If need to group each items. Default is false. Default: false, not group.

Optional groupQualifiedItem

groupQualifiedItem: boolean

(x)* If need to group qualified item, work with qualifier. Default: true.

Optional name

name: string

The group name. work with group

Optional negatedSet

negatedSet: boolean

[^xy] If it is a negated set. Default is false.

Optional notRemember

notRemember: boolean

(?:x) If need not to remember the group, work with group. Default is false.

Optional notRememberQualifiedItem

notRememberQualifiedItem: boolean

(?:x)* If need not to remember the group qualified item, work with qualifier. Default is false.

Optional or

or: boolean

x|y If using or operations for items. Default is false.

Optional qualifier

qualifier: string

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

Optional set

set: boolean

[xy] If it is a set. Default is false.

Generated using TypeDoc