Correct regex in ExpandProperties

Previously Android choked on this incomplete regex.
This commit is contained in:
Andrew Gaul 2017-01-24 23:17:42 -08:00
parent efc568b482
commit a5dd78b0cc
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ import com.google.common.collect.Maps;
public class ExpandProperties implements Function<Properties, Properties> {
// Matches variables in a string such as ${foo.bar}
private static final Pattern VAR = Pattern.compile("\\$\\{[^\\}]+}");
private static final Pattern VAR = Pattern.compile("\\$\\{[^\\}]+\\}");
@Override
public Properties apply(final Properties properties) {