need an escape on the `.` here.

```lua
-- positive case:
print(string.match("foo.yaml", ".yaml$"))

-- should fail, doesn't:
print(string.match("fooXyaml", ".yaml$"))

-- fails with fixed regex
print(string.match("fooXyaml", "\\.yaml$"))

```