Closed TobiasNx closed 2 years ago
@TobiasNx please test the branch if it fixes the issue.
Result seems to work: https://github.com/TobiasNx/notWorkingFlux/blob/b079f0be4fbe18b17619d0cf4946a22ffd3d22db/setreplaceWithFile/notitle.json
https://github.com/TobiasNx/notWorkingFlux/commit/b079f0be4fbe18b17619d0cf4946a22ffd3d22db
Even with multiple replacements in one literal.
+1
Oh: It seems not to work for empty strings: See my three attemps: https://github.com/TobiasNx/notWorkingFlux/commit/2f3a817743b6a8ddc889d58ce3d60345b5172374 => no change https://github.com/TobiasNx/notWorkingFlux/commit/85bd1ef5ddd3221124cbc100f91d2935d0228ca0 => no change https://github.com/TobiasNx/notWorkingFlux/commit/5214444f629ba3cc9fee5ae0823e6d4c91ff8576 => since insonsistent with "" changes not to emtpy but to ""
This could be provided, but only by introducing a new parameter for the function (to be backward compatible). This would be a new feature, not just a bug fix. So, you really need this, give a +1
If this is an additional feature, then let*s try a workaround first and introduce the new feature if needed with an new ticket.
So +1 on the setReplace functionality with map. The new feature would be nice but can be solved otherwise (for now)
Note then: to allow the empty replacement set split.split(line, -1);
in FileMap:88
.
Note then: to allow the empty replacement set
split.split(line, -1);
inFileMap:88
.
Could you explain this a little bit more? I would not know how to use it.
That's just a reminder of how to implement the feature if an issue is opened.
It seems that setreplace is not working with a externalfile via filemap: I have set up a simple case:
https://github.com/TobiasNx/notWorkingFlux/tree/main/setreplaceWithFile
I receive following error message: