lib/finders/RegexFinderStrategy.js
function RegexFinderStrategy(config) {
	config = config || {};

	FinderStrategy.call(this, config);
	this.config = extend(true, this.config, {}, config);
}
function RegexFinderStrategy(config) {
	config = config || {};

	FinderStrategy.call(this, config);
	this.config = extend(true, this.config, {}, config);
}
This finder strategy tries to identify
inclusions in source code by using
regexes. This approach may be hackish
but works well in most situations. The
only limitations are connected to regexes
being mostly stateless. For example
it may not be a great idea to parse
HTML with regexes.

@description
In addition to the default configuration
this finder supports the following
configuration:

pattern: The regex pattern that will
be used to find inclusions in source
code. The included file should be
captured by the first capture group
of the regex.

@class RegexFinderStrategy
@extends FinderStrategy
@param {Object} config The configuration
of this finder strategy