[Freeswitch-users] String Manipulation
msc at freeswitch.org
Wed Jul 25 20:39:07 MSD 2012
>From what I can tell, the PCRE interface does pattern matching but not all
the fancy modifiers, like /g to continually repeat an operation. (Please
correct me if I'm wrong and I will wikify the specifics.)
The good news is that a simple Lua script to do something like this isn't
very resource intensive.
On Wed, Jul 25, 2012 at 4:13 AM, Alex <alex at thewinelake.com> wrote:
> Is there a neat way within a dialplan script to strip all non-digits
> from a string?
> The obvious (non-neat) way is to write a lua function for it...
-------------- next part --------------
An HTML attachment was scrubbed...
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users