function re(pattern, replacements, flags) {
		return RegExp(replace(pattern, replacements), flags || '');
	}
@param {string} pattern
@param {string[]} replacements
@param {string} [flags]
@returns {RegExp}