There is a string like
Protocol = (SNMP) Address = (\ (test \))
Is it possible to break it into pairs key \ value, what would happen ^
Protocol - SNMP;
Adress - \ (test \)
The main problem is that the partition follows the first occurrence of the closing bracket ")". Ie getting out
\ (test \
How to prevent the occurrence of such a screened character?