jbertram commented on code in PR #5555: URL: https://github.com/apache/activemq-artemis/pull/5555#discussion_r2001324853
########## artemis-server/src/main/java/org/apache/activemq/artemis/core/config/WildcardConfiguration.java: ########## @@ -178,6 +180,22 @@ public String convert(final String input, final WildcardConfiguration target) { } } + /** + * Detect whether the input {@code String} contains the "any words" or "single word" character and is not escaped. + */ + public boolean isWild(String input) { + return input == null ? false : ((input.contains(getAnyWordsString()) || input.contains(getSingleWordString())) && !isEscaped(input)); Review Comment: That is a good point. Let me have a think about this... -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org For additional commands, e-mail: gitbox-h...@activemq.apache.org For further information, visit: https://activemq.apache.org/contact