diff --git a/deckhand/common/utils.py b/deckhand/common/utils.py index 19a3a5eb..a83d2a7e 100644 --- a/deckhand/common/utils.py +++ b/deckhand/common/utils.py @@ -106,7 +106,7 @@ def _populate_data_with_attributes(jsonpath, data): # Populates ``data`` with any path specified in ``jsonpath``. For example, # if jsonpath is ".foo[0].bar.baz" then for each subpath -- foo[0], bar, # and baz -- that key will be added to ``data`` if missing. - array_re = re.compile(r'.*\[\d\].*') + array_re = re.compile(r'.*\[\d+\].*') d = data for path in jsonpath.split('.')[1:]: