// Replace 0(px,em,%) with 0. css = css.replaceAll("(?i)(^|[^0-9])(?:0?\\.)?0(?:px|em|%|in|cm|mm|pc|pt|ex|deg|g?rad|m?s|k?hz)", "$10");
That's not correct, for example when in your css file you put :
.dummy0Selected { ... }
becomes:
.dummy0elected { ... }
A little bug in CssCompressor.java:
// Replace 0(px,em,%) with 0. css = css.replaceAll("(?i)(^|[^0-9])(?:0?\\.)?0(?:px|em|%|in|cm|mm|pc|pt|ex|deg|g?rad|m?s|k?hz)", "$10");
That's not correct, for example when in your css file you put :.dummy0Selected { ... }
becomes:.dummy0elected { ... }