Incorrect parsing of environment variables

Environment variables are not correctly mapped to DG parameters when the parameter itself includes an underscore, as is the case with DATAGERRY_Database_database_name. In such cases, the current parsing logic recognizes the parameter as name and the parameter group as Database_database.

This behavior is caused by incorrect regex matching: the expression DATAGERRY_(.*)_(.*) allows underscores in the first matching group. An easy fix would be to limit the first matching group to ([a-zA-Z]*), which works fine with the three current configuration groups. The new expression would be:

DATAGERRY_([a-zA-Z]*)_(.*)

Hi @gsantos ,
we will have a look at it. Info about the current state at the following link:

https://becon88.atlassian.net/browse/DAT-462

BR Adnan