OptionController () { return super.getOptionController().onValueSet("m_regex", value -> { try { m_regexPattern = Pattern.compile(m_regex); } catch (PatternSyntaxException ignore) { m_regex = DEFAULT_REGEX; m_regexPattern = Pattern.compile(m_regex); } }); }