Fixed regEx to work with Unix an PC files.
This commit is contained in:
parent
3ab145e5aa
commit
c136717119
|
@ -1,6 +1,6 @@
|
|||
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" );
|
||||
|
||||
writeFile( arguments[1], f );
|
||||
|
|
Loading…
Reference in a new issue