mirror of https://github.com/apache/jclouds.git
Correct regex in ExpandProperties
Previously Android choked on this incomplete regex.
This commit is contained in:
parent
87a6f2a615
commit
1c524cadbb
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue