public @NotNull OptionController getOptionController() {
    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() : "";
        }
      });
  }
public @NotNull OptionController getOptionController()