public MainWindow() { InitializeComponent(); _regexValidator = new RegexValidator(); _matcher = new RegexMatcher(); Model = new RegexModel(); }