stringtemplate

String template to regex in python

String template to regex in python Question: I am trying to make a parser of file paths that follow an arbitrary naming convention. I am wanting to take an arbitrary string.Template and get the re.Match.groupdict() corresponding to a string that follows the string.Template. I would also like to specify the delimiter of the string template …

Total answers: 2