titleFilterApplies (title, filter, useRegex, regexFlags) {
		if (useRegex) {
			let regexFilter = filter;
			// Assume if leading slash, there is also trailing slash
			if (filter[0] === "/") {
				// Strip leading and trailing slashes
				regexFilter = filter.substr(1).slice(0, -1);
			}
			return new RegExp(regexFilter, regexFlags).test(title);
		} else {
			return title.includes(filter);
		}
	}
Determines if the user defined title filter should apply
@param {string} title the title of the event
@param {string} filter the string to look for, can be a regex also
@param {boolean} useRegex true if a regex should be used, otherwise it just looks for the filter as a string
@param {string} regexFlags flags that should be applied to the regex
@returns {boolean} True if the title should be filtered out, false otherwise