1
0
mirror of https://github.com/sasjs/core.git synced 2026-01-04 16:10:06 +00:00

fix: mp_gsubfile() now works with multiline files (and we have a multiline test to go with it)

This commit is contained in:
Allan Bowe
2021-09-16 18:30:17 +01:00
parent 2e7fcbe5b8
commit 7406288d79
6 changed files with 41 additions and 8 deletions

View File

@@ -10,7 +10,7 @@ end
-- open file and perform the substitution
file = io.open(fpath,"r")
fcontent = file:read()
fcontent = file:read("*all")
file:close()
fcontent = string.gsub(
fcontent,