in modular_cli_sdk/commons/logger.py [0:0]
def _compile_param_regex(param: str) -> re.Pattern:
"""
It searches for values in JSON objects where key is $param:
If param is "password" the string '{"password": "blabla"}' will be
printed as '{"password": "****"}'
[\'"] - single or double quote; [ ]* - zero or more spaces
"""
return re.compile(f'[\'"]{param}[\'"]:[ ]*[\'"](.*?)[\'"]')