another attempt to fix bug with the regex for hadoop-env settings