mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
13 lines
384 B
JavaScript
13 lines
384 B
JavaScript
export default function (isGroup, isOptional, isQuantifier, isAlternator) {
|
|
this.matches = [];
|
|
this.openGroup = isGroup || false;
|
|
this.alternatorGroup = false;
|
|
this.isGroup = isGroup || false;
|
|
this.isOptional = isOptional || false;
|
|
this.isQuantifier = isQuantifier || false;
|
|
this.isAlternator = isAlternator || false;
|
|
this.quantifier = {
|
|
min: 1,
|
|
max: 1
|
|
};
|
|
}
|