I've picked up a project with a lot of legacy CSS etc. in it. The code inspection keeps nagging about Unit of measure px is redundant.
Doing a find / replace for <space>0px; worked well for half the nags.
That left instances like padding: 10px 0px 10px 12px;
A find and replace on <space>0px<space> replaced with <space>0<space>
replaced most of those issues but for some reason the find and replace then removed the spaces in between the other values. So the above example ended up as padding: 10px 010px 12px;
Why is it reformatting values when the replace explicitly kept the spaces?