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.mjs 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 : '';
package/node.test.js CHANGED
@@ -5139,6 +5139,12 @@ var $;
5139
5139
  get native() {
5140
5140
  return new RegExp(this.source, this.flags);
5141
5141
  }
5142
+ static separated(chunk, sep) {
5143
+ return $mol_regexp.from([
5144
+ $mol_regexp.repeat_greedy([[chunk], sep], 0),
5145
+ chunk,
5146
+ ]);
5147
+ }
5142
5148
  static repeat(source, min = 0, max = Number.POSITIVE_INFINITY) {
5143
5149
  const regexp = $mol_regexp.from(source);
5144
5150
  const upper = Number.isFinite(max) ? max : '';