mol_dump_lib 0.0.967 → 0.0.969
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/node.d.ts +7 -0
- package/node.d.ts.map +1 -1
- package/node.deps.json +1 -1
- package/node.js +6 -0
- package/node.js.map +1 -1
- package/node.mjs +6 -0
- package/node.test.js +6 -0
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.d.ts +7 -0
- package/web.d.ts.map +1 -1
- package/web.deps.json +1 -1
- package/web.js +6 -0
- package/web.js.map +1 -1
- package/web.mjs +6 -0
package/web.js
CHANGED
|
@@ -3911,6 +3911,12 @@ var $;
|
|
|
3911
3911
|
get native() {
|
|
3912
3912
|
return new RegExp(this.source, this.flags);
|
|
3913
3913
|
}
|
|
3914
|
+
static separated(chunk, sep) {
|
|
3915
|
+
return $mol_regexp.from([
|
|
3916
|
+
$mol_regexp.repeat_greedy([[chunk], sep], 0),
|
|
3917
|
+
chunk,
|
|
3918
|
+
]);
|
|
3919
|
+
}
|
|
3914
3920
|
static repeat(source, min = 0, max = Number.POSITIVE_INFINITY) {
|
|
3915
3921
|
const regexp = $mol_regexp.from(source);
|
|
3916
3922
|
const upper = Number.isFinite(max) ? max : '';
|