Fix duplicate computation of regex

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1736027 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/Expander.java b/gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/Expander.java
index ec9f699..52fcd4f 100644
--- a/gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/Expander.java
+++ b/gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/Expander.java
@@ -901,7 +901,6 @@
                                     r = "";
                                 }
                             } else {
-                                p = toRegexPattern(val2.toString(), op.length() == 1);
                                 r = "";
                             }
                             String m = op.charAt(0) == '#' ? "^" + p : op.charAt(0) == '%' ? p + "$" : p;