Original Issue: https://github.com/madzak/python-json-logger/issues/194 > ### Fix regex for string template style > valid String template: `'$asctime $level $message'` > > regex for string template in [`JsonFormatter.parse`: ](https://github.com/madzak/python-json-logger/blob/5f85723f4693c7289724fdcda84cfc0b62da74d4/src/pythonjsonlogger/jsonlogger.py#L180) > > ```python > .... > elif isinstance(self._style, logging.StrFormatStyle): > formatter_style_pattern = re.compile(r"\{(.+?)\}", re.IGNORECASE) > ... > ``` > > would require the string template to be `'${asctime} ${level} ${message}'`