@kontur.candy/generator 6.22.0 → 6.23.0

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -141854,7 +141854,7 @@ class RegexReplaceExpression extends FLangExpression {
141854
141854
  }
141855
141855
  }
141856
141856
  convertToString() {
141857
- return `regexMatch(${this.value.convertToString()}, ${this.pattern.convertToString()}, ${this.replacement.convertToString()}${!!this.flags ? ", " + this.flags.convertToString() : ""})`;
141857
+ return `regexReplace(${this.value.convertToString()}, ${this.pattern.convertToString()}, ${this.replacement.convertToString()}${!!this.flags ? ", " + this.flags.convertToString() : ""})`;
141858
141858
  }
141859
141859
  }
141860
141860
  class SubstringExpression extends FLangExpression {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kontur.candy/generator",
3
- "version": "6.22.0",
3
+ "version": "6.23.0",
4
4
  "description": "Candy forms generator",
5
5
  "author": "SKBKontur Candy Team",
6
6
  "private": false,