master
yaml 18 lines 516 Bytes
Raw
1 pattern: "[Invalid(?P<name>regex" # Missing closing bracket and parenthesis
2
3 rewrite:
4 - key: TEST_KEY
5 match: "[a-z" # Missing closing bracket
6 value: "replacement"
7
8 - key: ANOTHER_KEY
9 match: "(?P<invalid group name>test)" # Invalid group name with spaces
10 value: "test"
11
12 - key: YET_ANOTHER
13 match: "(?P<>empty)" # Empty group name
14 value: "test"
15
16 filter:
17 include: "*invalid*glob[" # Invalid glob/regex pattern
18 exclude: "(?P<123>numbered)" # Group name starting with number