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.browser.js +4 -4
- package/dist/index.browser.js.map +1 -1
- package/dist/index.esm.js +4 -4
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/patterns/Repeat.d.ts +2 -2
- package/package.json +1 -1
- package/src/patterns/Repeat.ts +4 -4
package/dist/index.browser.js
CHANGED
|
@@ -1659,11 +1659,11 @@
|
|
|
1659
1659
|
parse(cursor) {
|
|
1660
1660
|
return this._repeatPattern.parse(cursor);
|
|
1661
1661
|
}
|
|
1662
|
-
exec(text) {
|
|
1663
|
-
return this._repeatPattern.exec(text);
|
|
1662
|
+
exec(text, record = false) {
|
|
1663
|
+
return this._repeatPattern.exec(text, record);
|
|
1664
1664
|
}
|
|
1665
|
-
test(text) {
|
|
1666
|
-
return this._repeatPattern.test(text);
|
|
1665
|
+
test(text, record = false) {
|
|
1666
|
+
return this._repeatPattern.test(text, record);
|
|
1667
1667
|
}
|
|
1668
1668
|
clone(name = this.name) {
|
|
1669
1669
|
let min = this._options.min;
|