|
|
|
@ -87,7 +87,7 @@ class ReplaceEditDialog : DialogFragment(), |
|
|
|
|
val replaceRule: ReplaceRule = viewModel.replaceRuleData.value ?: ReplaceRule() |
|
|
|
|
replaceRule.name = et_name.text.toString() |
|
|
|
|
replaceRule.group = et_group.text.toString() |
|
|
|
|
replaceRule.pattern = et_group.text.toString() |
|
|
|
|
replaceRule.pattern = et_replace_rule.text.toString() |
|
|
|
|
replaceRule.isRegex = cb_use_regex.isChecked |
|
|
|
|
replaceRule.replacement = et_replace_to.text.toString() |
|
|
|
|
replaceRule.scope = et_scope.text.toString() |
|
|
|
|