OptionController () { return OptionController.fieldsOf(this) .onValue("m_regex", () -> m_regex, val -> { m_regex = val; try { initPattern(); } catch(PatternSyntaxException ex) { m_regex = m_regexPattern != null ? m_regexPattern.pattern() : ""; } }); }