I guess it is obvious I'm using a different OS :)

--
Brandon Aaron

On 10/8/06, Franck Marcia <[EMAIL PROTECTED]> wrote:
> 2006/10/8, Jörn Zaefferer <[EMAIL PROTECTED]>:
> > I tried your quick and dirty fix for lite: It worked but was awfully
> > slow.
>
> This hack works for me and is fast:
>
> var blockMatch = /\s*\/\*\*\s*((.|\r\n|\r|\n)*?)\s*\*\/(\r\n|\r|\n)*/g;
> var f = readFile(arguments[0]).replace( blockMatch, "\n" ).replace(
> /\r/g, "" ).replace( /\n\n+/g, "\n\n" );
>
> However, I'm not sure it's the best way as I'm not a regexp guru.
>
> Franck.
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to