84debca5fb
Add tests to cover this scenario
Add changelog fragment
Fixes #36156
(cherry picked from commit 723daf3e3a
)
29 lines
467 B
YAML
29 lines
467 B
YAML
test_regexp:
|
|
- regex: '1'
|
|
replace: 'bar'
|
|
|
|
- regex: '2'
|
|
replace: 'bar'
|
|
|
|
- regex: '3'
|
|
replace: 'bar'
|
|
|
|
- regex: '4'
|
|
replace: 'bar'
|
|
|
|
|
|
test_befaf_regexp:
|
|
- before: section_three
|
|
after: section_one
|
|
regexp: option_one=
|
|
line: option_one=1
|
|
|
|
- before: section_three
|
|
after: section_one
|
|
regexp: option_two=
|
|
line: option_two=2
|
|
|
|
- before: section_three
|
|
after: section_one
|
|
regexp: option_three=
|
|
line: option_three=3
|