Commit b480974
committed
Improve regexp to use \s (space).
This would not trip over tabs.
Sidenote: Real YAML parsing would be a lot safer, but would require
a package like shyaml or yq which both tend to be not installed and
an additional burden.
Signed-off-by: Kurt Garloff <kurt@garloff.de>1 parent 7eb7a9b commit b480974
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
0 commit comments