i found and fixed the bug in processing dialplan replacement expressions. now repl_exps that contain normal chars and back references \d (REPLACE_NMATCH) work ok.
i have not tested with REPLACE_CHAR, REPLACE_URI, REPLACE_SPEC repl_exp tokens and don't even know how they are written in repl_exp. however, their processing does not include any variables, whose values i modified in the code, so if these worked before, they should work also after my modifications.
i committed the fix to master, but not to 3.1 yet. i'll wait a few days for comments and if no one objects, i'll cherry pick the commit to 3.1.
--- juha