improved regex to detect when parameters are used in i18n call