Skip to content

Commit ef9cafd

Browse files
author
Jan Chr. Rivenæs
committed
Merge branch 'negative-yaml-tmpl' into 'master'
Negative yaml tmpl, ref #14 See merge request fmu-utilities/fmu-config!40
2 parents 46cfdbd + 8585bc2 commit ef9cafd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/fmu/config/configparserfmu.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ def _get_required_form(stream, template=False, ipl=False):
622622
def _get_tmpl_form(stream):
623623
"""Get template form (<...> if present, not numbers)."""
624624

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

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

0 commit comments

Comments
 (0)