mol_view_tree2_lib 1.0.137 → 1.0.138

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
@@ -1693,6 +1693,12 @@ var $;
1693
1693
  get native() {
1694
1694
  return new RegExp(this.source, this.flags);
1695
1695
  }
1696
+ static separated(chunk, sep) {
1697
+ return $mol_regexp.from([
1698
+ $mol_regexp.repeat_greedy([[chunk], sep], 0),
1699
+ chunk,
1700
+ ]);
1701
+ }
1696
1702
  static repeat(source, min = 0, max = Number.POSITIVE_INFINITY) {
1697
1703
  const regexp = $mol_regexp.from(source);
1698
1704
  const upper = Number.isFinite(max) ? max : '';
package/node.test.js CHANGED
@@ -1684,6 +1684,12 @@ var $;
1684
1684
  get native() {
1685
1685
  return new RegExp(this.source, this.flags);
1686
1686
  }
1687
+ static separated(chunk, sep) {
1688
+ return $mol_regexp.from([
1689
+ $mol_regexp.repeat_greedy([[chunk], sep], 0),
1690
+ chunk,
1691
+ ]);
1692
+ }
1687
1693
  static repeat(source, min = 0, max = Number.POSITIVE_INFINITY) {
1688
1694
  const regexp = $mol_regexp.from(source);
1689
1695
  const upper = Number.isFinite(max) ? max : '';