diff --git a/moose-examples/snippets/wildcard.py b/moose-examples/snippets/wildcard.py index ee2aee82c34485fc6be99dcd76cce4603b164cc4..ba2712e45a798ceee0d394e7104bc0cab513c955 100644 --- a/moose-examples/snippets/wildcard.py +++ b/moose-examples/snippets/wildcard.py @@ -91,13 +91,15 @@ def wildcard_test(): for element in moose.wildcardFind(wildcard): print(('\t', element.path)) - # `#` can be used only once and matches all subsequent characters in name + + # `?` can be used any number of times but substitutes a single character wildcard = '/alfa/bravo/charl?e' print(('\nElements Matching:', wildcard)) for element in moose.wildcardFind(wildcard): print(('\t', element.path)) - # `?` can be used any number of times but substitutes a single character + + # `#` can be used only once and matches all subsequent characters in name wildcard = '/alfa/bravo/fox#' print(('\nElements Matching:', wildcard)) for element in moose.wildcardFind(wildcard):