test/resources/rules/quoted_var.test
raw| 1 | # |
| 2 | # Test variable substitution with filters that have quoted arguments. |
| 3 | # |
| 4 | |
| 5 | WAY |
| 6 | highway=primary |
| 7 | name=Doctor Who |
| 8 | |
| 9 | <<<lines>>> |
| 10 | |
| 11 | highway=primary {name '${name|subst:"^(Doctor|Dokter) ~>Dr "}' } [0x1] |
| 12 | |
| 13 | <<<results>>> |
| 14 | WAY 1: Line 0x1, labels=[Dr Who, null, null, null], res=24-24 (1/1),(2/2), |