fix regex. so it does not match files like blaconf

It s just a minor issue, but in case you have a name like foobarconf the old regex would match and create a wrong file.