Closed andry81 closed 6 months ago
Hi andry81,
There is a rule which was breached but not documented yet: set, cond, and init are not allowed to be used in if statements. I will document this. Here is the replacement string that will work with your find string:
init({DESTDIR=""}); if CAP2 ~= nil then DESTDIR = DESTDIR..CAP2 end; cond(string.sub(CAP1, 1, 1) ~= "#", DESTDIR); if CAP2 ~= nil then DESTDIR=string.sub(CAP1,4,-1) end
However, I recognized that backslashes were deleted. I will prepare a fix for this.
Hi andry81,
The fix for the backslash issue is ready. You can download the latest version, which includes this fix and additional enhancements, from this link Please find the files in the Artifacts frame..
This version is a pre-release and features new functionality. Notably, you can now right-click on the list to access a context menu, offering management options like Copy, Paste, and Edit.
Have the file:
Want to replace to:
The expression:
Result:
Can you help with the expression?