-expanding: primary_hostname: $primary_hostname
- result: primary_hostname: myhost.test.ex
-expanding: abcd
- result: abcd
-expanding: \N^([ab]+)(\w+)$\N
- result: ^([ab]+)(\w+)$
-condition: match{abcd}{\N^([ab]+)(\w+)$\N}
- result: true
-expanding: $2$1
- result: cdab
-expanding: match: ${if match{abcd}{\N^([ab]+)(\w+)$\N}{$2$1}fail}
- result: match: cdab
-expanding: wxyz
- result: wxyz
-expanding: \N^([ab]+)(\w+)$\N
- result: ^([ab]+)(\w+)$
-condition: match{wxyz}{\N^([ab]+)(\w+)$\N}
- result: false
-expanding: $2$1
- result:
-skipping: result is not used
-failed to expand: match: ${if match{wxyz}{\N^([ab]+)(\w+)$\N}{$2$1}fail}
- error message: "if" failed and "fail" requested
-failure was forced
-expanding: 1
- result: 1
-expanding: 1
- result: 1
-condition: eq {1}{1}
- result: true
-expanding: yes
- result: yes
-expanding: xx
- result: xx
-skipping: result is not used
-expanding: /non/exist
- result: /non/exist
-skipping: result is not used
-expanding: ${lookup{xx}lsearch{/non/exist}}
- result:
-skipping: result is not used
-expanding: ${if eq {1}{1}{yes}{${lookup{xx}lsearch{/non/exist}}}}
- result: yes
-expanding: a.b.c
- result: a.b.c
-expanding: a.b.c
- result: a.b.c
+ ┌considering: primary_hostname: $primary_hostname
+ ├──expanding: primary_hostname: $primary_hostname
+ └─────result: primary_hostname: myhost.test.ex
+ ┌considering: match: ${if match{abcd}{\N^([ab]+)(\w+)$\N}{$2$1}fail}
+ ┌considering: abcd}{\N^([ab]+)(\w+)$\N}{$2$1}fail}
+ ├──expanding: abcd
+ └─────result: abcd
+ ┌considering: \N^([ab]+)(\w+)$\N}{$2$1}fail}
+ ├──expanding: \N^([ab]+)(\w+)$\N
+ └─────result: ^([ab]+)(\w+)$
+ ├──condition: match{abcd}{\N^([ab]+)(\w+)$\N}
+ ├─────result: true
+ ┌considering: $2$1}fail}
+ ├──expanding: $2$1
+ └─────result: cdab
+ ├──expanding: match: ${if match{abcd}{\N^([ab]+)(\w+)$\N}{$2$1}fail}
+ └─────result: match: cdab
+ ┌considering: match: ${if match{wxyz}{\N^([ab]+)(\w+)$\N}{$2$1}fail}
+ ┌considering: wxyz}{\N^([ab]+)(\w+)$\N}{$2$1}fail}
+ ├──expanding: wxyz
+ └─────result: wxyz
+ ┌considering: \N^([ab]+)(\w+)$\N}{$2$1}fail}
+ ├──expanding: \N^([ab]+)(\w+)$\N
+ └─────result: ^([ab]+)(\w+)$
+ ├──condition: match{wxyz}{\N^([ab]+)(\w+)$\N}
+ ├─────result: false
+ ┌───scanning: $2$1}fail}
+ ├──expanding: $2$1
+ ├─────result:
+ └───skipping: result is not used
+ ├failed to expand: match: ${if match{wxyz}{\N^([ab]+)(\w+)$\N}{$2$1}fail}
+ ├───error message: "if" failed and "fail" requested
+ └failure was forced
+ ┌considering: ${if eq {1}{1}{yes}{${lookup{xx}lsearch{/non/exist}}}}
+ ┌considering: 1}{1}{yes}{${lookup{xx}lsearch{/non/exist}}}}
+ ├──expanding: 1
+ └─────result: 1
+ ┌considering: 1}{yes}{${lookup{xx}lsearch{/non/exist}}}}
+ ├──expanding: 1
+ └─────result: 1
+ ├──condition: eq {1}{1}
+ ├─────result: true
+ ┌considering: yes}{${lookup{xx}lsearch{/non/exist}}}}
+ ├──expanding: yes
+ └─────result: yes
+ ┌───scanning: ${lookup{xx}lsearch{/non/exist}}}}
+ ┌───scanning: xx}lsearch{/non/exist}}}}
+ ├──expanding: xx
+ ├─────result: xx
+ └───skipping: result is not used
+ ┌───scanning: /non/exist}}}}
+ ├──expanding: /non/exist
+ ├─────result: /non/exist
+ └───skipping: result is not used
+ ├──expanding: ${lookup{xx}lsearch{/non/exist}}
+ ├─────result:
+ └───skipping: result is not used
+ ├──expanding: ${if eq {1}{1}{yes}{${lookup{xx}lsearch{/non/exist}}}}
+ └─────result: yes
+ ┌considering: match_address: ${if match_address{a.b.c}{a.b.c}{yes}{no}}
+ ┌considering: a.b.c}{a.b.c}{yes}{no}}
+ ├──expanding: a.b.c
+ └─────result: a.b.c
+ ┌considering: a.b.c}{yes}{no}}
+ ├──expanding: a.b.c
+ └─────result: a.b.c