fix(getOperands): change replace value to `|` so that it will appropriately split in the next function call