clarity-pattern-parser 11.0.29 → 11.0.30

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.
@@ -2437,7 +2437,7 @@
2437
2437
  return this._pattern.test(text, record);
2438
2438
  }
2439
2439
  clone(name = this._name) {
2440
- const clone = new Context(name, this._pattern, Object.values(this._patterns));
2440
+ const clone = new Context(name, this._pattern.clone(name), Object.values(this._patterns));
2441
2441
  clone._id = this._id;
2442
2442
  return clone;
2443
2443
  }