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.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 : '';