Maybe stuff is incorrect when calling it (after the first replacerx).
The second regex is working, but I don't know whether it is correct. I just tested this code, and it prints 3.
int n=stuff.replacerx(";{8}(\r\n[0-3][0-9]\.[0-1][0-9]\.[1-2][0-9];)" "$1@OUTRO@$2")
out n ;;3
The second regex is working, but I don't know whether it is correct. I just tested this code, and it prints 3.
int n=stuff.replacerx(";{8}(\r\n[0-3][0-9]\.[0-1][0-9]\.[1-2][0-9];)" "$1@OUTRO@$2")
out n ;;3