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.esm.js
CHANGED
|
@@ -1653,11 +1653,11 @@ class Repeat {
|
|
|
1653
1653
|
parse(cursor) {
|
|
1654
1654
|
return this._repeatPattern.parse(cursor);
|
|
1655
1655
|
}
|
|
1656
|
-
exec(text) {
|
|
1657
|
-
return this._repeatPattern.exec(text);
|
|
1656
|
+
exec(text, record = false) {
|
|
1657
|
+
return this._repeatPattern.exec(text, record);
|
|
1658
1658
|
}
|
|
1659
|
-
test(text) {
|
|
1660
|
-
return this._repeatPattern.test(text);
|
|
1659
|
+
test(text, record = false) {
|
|
1660
|
+
return this._repeatPattern.test(text, record);
|
|
1661
1661
|
}
|
|
1662
1662
|
clone(name = this.name) {
|
|
1663
1663
|
let min = this._options.min;
|