src/lib/crawler.js
/**
	 * Compile the regex patterns into one regex string.
	 */
Compile the regex patterns into one regex string.
Compile the regex patterns into one regex string .
compileRegex(patterns)
	{
		return new RegExp(patterns.join('|').trim(), "g");
	}
compileRegex ( patterns ) { return new RegExp ( patterns . join ( '|' ) . trim ( ) , "g" ) ; }
Compile the regex patterns into one regex string.
Compile the regex patterns into one regex string .
// create a Regexp