clarity-pattern-parser 11.3.12 → 11.3.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1657,11 +1657,11 @@ class Repeat {
1657
1657
  parse(cursor) {
1658
1658
  return this._repeatPattern.parse(cursor);
1659
1659
  }
1660
- exec(text) {
1661
- return this._repeatPattern.exec(text);
1660
+ exec(text, record = false) {
1661
+ return this._repeatPattern.exec(text, record);
1662
1662
  }
1663
- test(text) {
1664
- return this._repeatPattern.test(text);
1663
+ test(text, record = false) {
1664
+ return this._repeatPattern.test(text, record);
1665
1665
  }
1666
1666
  clone(name = this.name) {
1667
1667
  let min = this._options.min;