GitHub user peculater opened a pull request:
https://github.com/apache/incubator-tamaya/pull/21
TAMAYA-340 Bugfix for regex "\\." vs literal "."
String.replaceAll(String, String) takes a regex as its first argument,
not a literal replaceable string. The result of this is that any
single-character environment variable is converted to use the "_" key
which has special significance to the system. Tests in the extensions
repo include some that have a single character which this change should
get working again. I've included a test in this repo for that case as
well.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/peculater/incubator-tamaya
TAMAYA-340-regex-bugfix
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-tamaya/pull/21.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #21
----
commit 7352d6ae062224a0c72f7524f43a072f9464fbb6
Author: William Lieurance <william.lieurance@...>
Date: 2018-06-10T09:20:12Z
TAMAYA-340 Bugfix for regex "\\." vs literal "."
String.replaceAll(String, String) takes a regex as its first argument,
not a literal replaceable string. The result of this is that any
single-character environment variable is converted to use the "_" key
which has special significance to the system. Tests in the extensions
repo include some that have a single character which this change should
get working again. I've included a test in this repo for that case as
well.
----
---