This is kind of a continuation to #12. With the following string used as test input: ```rust let src = r#" app_dir: "$HOME/.var/app/foo" logging: console: level: "debug" file: dest: path: "$HOME/.var/log/foo.log" options: pid: true "#; ``` I get the following error: ``` index out of bounds: the len is 187 but the index is 187 ``` A workaround is to use `src.trim_end()` since the problem is in the trailing spaces before the `"#`.