Added optional params for regexInclude and regexExclude

By adding optional params regexInclude and / or regexExclude certain files can be skipped, r.g. fonts or SVGs.
Why was this logic removed?