On Fri, 2007-05-25 at 08:14 -0700, Steve Langstaff wrote: > I came across an issue where the user interface I was using (FreePBX?) to > enter expressions was silently swallowing backslash characters (this wasn't > regexp, but my dialplan had to add a SIP header with a semicolon in - that > was falling foul of the comment character matching for the user interface, so > I had to escape it, but that was being stripped elsewere!) > > So I wanted the following in the dial plan: > > Blah;blah > > But I had to enter: > > Blah\\;blah > > And when this was displayed on the user interface it was shown as: > > Blah\;blah > > Just a thought. >
You are right, it looks like the backslashes are being silently swallowed, but adding extra ones doesn't help either :-) It cannot even match the backslash itself (\\). By the way, using your suggestions, one should type "\\\" to match a backslash :-) Eugen _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
