Config file name with multiple dots fails
norcino opened this issue · 3 comments
I noticed that if you call the config file using multiple dots it fails to preview and apply the transformation.
Working file names
Web.ANYSTRING.config
App.ANYSTRING.config
Not working
Web.name.surname.config
App.any.string.config
Expected behaviour
Should not matter how many dots are in the file name.
Hi. Thanks for your feedback. I will check it. Or you can make a PR :)
Hi. I have finally time for inspection. Are you using just format Web.FIRST.SECODS.config, or shorter one, i.e., Web.FIRST.config too? What you can do, is to update plugin configuration (see attached image) to this regex: ([^.]+)\.([^.]+)\.(([^.]+)\.)?config
This regex will accept both of file names. I hope it helps you.
Thank you marazt, I will close the issue now.