I'm porting YUI's CssCompressor, which has several Matcher uses, to PHP. For the sake of long-term maintenance I'd like to keep the PHP port as similar to the Java original as possible (preg_replace_callback
of course works, but drastically changes the program flow).
So, has anyone ported Matcher to PHP?