| 1 | --- |
| 2 | # Special character encoding test |
| 3 | # Tests various encodings and character edge cases |
| 4 | |
| 5 | pattern: "(?P<prefix>[^:]+): (?P<content>.*)" |
| 6 | |
| 7 | inject: |
| 8 | - key: CONTROL_CHARS |
| 9 | value: "Tab:\t Newline:\n Carriage:\r Null handling" |
| 10 | - key: SYMBOLS |
| 11 | value: "Symbols: @#$%^&*()+=[]{}|\\:;\"'<>?/~`" |
| 12 | - key: ACCENTED |
| 13 | value: "Accented: café, naïve, résumé, piñata" |
| 14 | - key: MATHEMATICAL |
| 15 | value: "Math: ∑∏∆√∞≠≤≥±×÷" |
| 16 | |
| 17 | filename: |
| 18 | key: FILENAME |
| 19 | |
| 20 | rewrite: |
| 21 | - key: MESSAGE |
| 22 | value: 'Encoded[${prefix}] = ${content}' |
| 23 | inject: yes |