Hello, I've Xml document with attribute likes: foo="00 12 AF" I want to replace with: foo="0x00 0x12 0xAF"
I try:
%s/\%(\%(foo=\"\)\@<=\%(0x[0-9A-F]\{2\}\s\)*\)\@<=\([0-9A-F]\{2\}\)/0x\1/g
It works fine for each first occurrence of each line but not on others
whatever I've put g option.
I have to use repeat manually until change is finish.
How can I do repeat?
Thanks,
Arnaud.
--
Reclaim Your Inbox! http://www.mozilla.org/products/thunderbird
