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/node.js
CHANGED
|
@@ -5148,6 +5148,12 @@ var $;
|
|
|
5148
5148
|
get native() {
|
|
5149
5149
|
return new RegExp(this.source, this.flags);
|
|
5150
5150
|
}
|
|
5151
|
+
static separated(chunk, sep) {
|
|
5152
|
+
return $mol_regexp.from([
|
|
5153
|
+
$mol_regexp.repeat_greedy([[chunk], sep], 0),
|
|
5154
|
+
chunk,
|
|
5155
|
+
]);
|
|
5156
|
+
}
|
|
5151
5157
|
static repeat(source, min = 0, max = Number.POSITIVE_INFINITY) {
|
|
5152
5158
|
const regexp = $mol_regexp.from(source);
|
|
5153
5159
|
const upper = Number.isFinite(max) ? max : '';
|