private void ButtonMatch_Click(object sender, RoutedEventArgs e)
        {
            _vm.Init(GetOptions());
            var match = _vm.Match();

            if (match?.Success ?? false)
            {
                TextBox_Input.Focus();
                TextBox_Input.Select(match.Index, match.Length);
            }
        }
 private void ButtonReset_Click(object sender, RoutedEventArgs e)
 {
     _vm.Reset();
     TextBox_Input.Select(0, 0);
 }