advise on a new config style

"fred" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <002801c66a94$b5d50b20$18e0110a@FRED4>
I've worked out code to do a set of regular expression substitutions on source/destination addresses.
now I just would like  to make it configurable, so looking for any advise on  modding cfg etc?

the idea is like...simplest example....

source-addr-regex-subst = "^([2-9][0-9]{9})" "1$1"
                                            = "^0([2-9][0-9]{9})" "1$1"
 
for any number of regular expressions and substitions - one per line

I've only started to look at the cfg code, theres some weird stuff in it....I now wish to make config  xml based!! lol!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.