RE: need some regex help to strip out // comments but not http:// urls

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> From: David Harkness [mailto:david.h@xxxxxxxxxxxxxxxxx]
> 
> We have been using a native jsmin extension [1] which does a lot more
> without any trouble for over two years now. It's much faster than the
> equivalent PHP solution and is probably tested by a lot more people than a
> home-grown version. You might want to check it out before going too far
> down this path.
> 
> Good luck,
> David
> 
> [1] http://www.ypass.net/software/php_jsmin/

I appreciate the pointer, but our files, like many people, is a mixture of
HTML, PHP and JS in one file. This jsmin appears to only work on .js files
right? Also, everything else works great in our minifing method, just this
edge case.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux