def METHOD_NAME(self):
    # Check regex of docstring style options
    try:
        docstring_style_match = (
            self.docstring_style_match.textbox.text())
        re.compile(docstring_style_match)
    except re.error:
        self.report_invalid_regex()
        return False
    try:
        docstring_style_match_dir = (
            self.docstring_style_match_dir.textbox.text())
        re.compile(docstring_style_match_dir)
    except re.error:
        self.report_invalid_regex(files=False)
        return False
    return True