snakemake.script.strip_re
- snakemake.script.strip_re(regex, s)[source]
Strip a substring matching a regex from a string and return the stripped part and the remainder of the original string. Returns an empty string and the original string if the regex is not found
- Return type:
Tuple
[str
,str
]