Skip to content

Commit

Permalink
Merge branch 'negative-yaml-tmpl' into 'master'
Browse files Browse the repository at this point in the history
Negative yaml tmpl, ref #14

See merge request fmu-utilities/fmu-config!40
  • Loading branch information
jcrivenaes committed Oct 28, 2019
2 parents 46cfdbd + 8585bc2 commit ef9cafd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fmu/config/configparserfmu.py
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ def _get_required_form(stream, template=False, ipl=False):
def _get_tmpl_form(stream):
"""Get template form (<...> if present, not numbers)."""

pattern = "[a-zA-Z0-9.]+~"
pattern = "-*[a-zA-Z0-9.]+~"

if isinstance(stream, list):
logger.info("STREAM is a list object")
Expand Down

0 comments on commit ef9cafd

Please sign in to comment.