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 discuss@jquery.com http://jquery.com/discuss/