There was a bug when trying to open the config file in the loco tab where the .yaml file couldn't be seen. This was caused by a small regex bug in the code. This PR fixes the bug and replaces the regex by a variable since the regex is used at multiple places, so we now only have to change it on one place if needed in the future.
There was a bug when trying to open the config file in the loco tab where the
.yaml
file couldn't be seen. This was caused by a small regex bug in the code. This PR fixes the bug and replaces the regex by a variable since the regex is used at multiple places, so we now only have to change it on one place if needed in the future.