I am extracting information from several files and I wrote the following command:
:g!/Value/d | %s/.*=//ge | %s/\;//ge | %y
and it basically does: 'delete lines without "Value" | delete everything up to the = sign | remove ";" | copy all to register'
but the first :g!/Value/d is being ignored, it seems the %y is somehow causing it to be ignored as
:g!/Value/d | %s/.*=//ge | %s/\;//ge
properly cleans the document.
I also tried to get a log from the command execution there was nothing helpful there.
I don't see how the last command could affect the first one.