diff options
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/com/anthonyhilyard/iceberg/util/Selectors.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/com/anthonyhilyard/iceberg/util/Selectors.java b/src/main/java/com/anthonyhilyard/iceberg/util/Selectors.java index afb5d3e..3e9c429 100644 --- a/src/main/java/com/anthonyhilyard/iceberg/util/Selectors.java +++ b/src/main/java/com/anthonyhilyard/iceberg/util/Selectors.java @@ -126,6 +126,12 @@ public class Selectors return validateSelector(value.substring(1)); } + // If this is a wildcard selector, it is valid. + if (value.contentEquals("*")) + { + return true; + } + // This is a tag, which should be a resource location. if (value.startsWith("$")) { |