Refactored the ParseBrackets method to the more correct name: ParsePatternToRegexString