@Barry in one of your comments you noted “my code actually parses the string replacement while YUI has a string replacement system.”

Could you elaborate more on this? Did you actually build a java based CSS parser, or are you using regular expressions to do the replacements and minifying?

Thanks.