raw string literal (and qt string literals which you already have in this file) makes regexp much more readable since you don’t need to escape the backslashes:
uR"(\[(\w+)\])"_sraw string literal (and qt string literals which you already have in this file) makes regexp much more readable since you don’t need to escape the backslashes:
uR"(\[(\w+)\])"_s