From a5dd78b0cc1673998f41802e2a531e7ea42008cb Mon Sep 17 00:00:00 2001 From: Andrew Gaul Date: Tue, 24 Jan 2017 23:17:42 -0800 Subject: [PATCH] Correct regex in ExpandProperties Previously Android choked on this incomplete regex. --- core/src/main/java/org/jclouds/functions/ExpandProperties.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/org/jclouds/functions/ExpandProperties.java b/core/src/main/java/org/jclouds/functions/ExpandProperties.java index e8bb05ba62..7b3c1f32ea 100644 --- a/core/src/main/java/org/jclouds/functions/ExpandProperties.java +++ b/core/src/main/java/org/jclouds/functions/ExpandProperties.java @@ -36,7 +36,7 @@ import com.google.common.collect.Maps; public class ExpandProperties implements Function { // 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) {