@abaplint/runtime 2.13.98 → 2.13.100

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.
@@ -39,7 +39,7 @@ function substring_after(input) {
39
39
  else if (input?.sub) {
40
40
  reg = abap_regex_1.ABAPRegExp.escapeRegExp(input.sub.get());
41
41
  }
42
- const r = new RegExp(reg + "(.*)");
42
+ const r = new RegExp(reg + "([\\s\\S]*)");
43
43
  const res = val.match(r);
44
44
  let ret = "";
45
45
  if (res && res[1]) {
@@ -39,7 +39,7 @@ function substring_before(input) {
39
39
  else if (input?.sub) {
40
40
  reg = abap_regex_1.ABAPRegExp.escapeRegExp(input.sub.get());
41
41
  }
42
- const r = new RegExp("(.*?)" + reg);
42
+ const r = new RegExp("([\\s\\S]*?)" + reg);
43
43
  const res = val.match(r);
44
44
  let ret = "";
45
45
  if (res && res[1]) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/runtime",
3
- "version": "2.13.98",
3
+ "version": "2.13.100",
4
4
  "description": "Transpiler - Runtime",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/src/index.d.ts",