From 090f168a5726ccbc6a474f0e259a3e8af0a5b1df Mon Sep 17 00:00:00 2001 From: Dhruva Gowda Storz <dhruvastorz@gmail.com> Date: Mon, 18 Dec 2017 15:16:34 +0530 Subject: [PATCH] fixed minor typo in wildcard.py --- moose-examples/snippets/wildcard.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/moose-examples/snippets/wildcard.py b/moose-examples/snippets/wildcard.py index ee2aee82..ba2712e4 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): -- GitLab