Commit c1367171 authored by Mike Alsup's avatar Mike Alsup

Fixed regEx to work with Unix an PC files.

parent 3ab145e5
load("build/js/writeFile.js"); load("build/js/writeFile.js");
var blockMatch = /\s*\/\*\*\s*((.|\n)*?)\s*\*\/\n*/g; var blockMatch = /\s*\/\*\*\s*((.|\n|\r\n)*?)\s*\*\/\n*/g;
var f = readFile(arguments[0]).replace( blockMatch, "\n" ).replace( /\n\n+/g, "\n\n" ); var f = readFile(arguments[0]).replace( blockMatch, "\n" ).replace( /\n\n+/g, "\n\n" );
writeFile( arguments[1], f ); writeFile( arguments[1], f );
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment