[Freeswitch-users] String Manipulation

Michael Collins 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.
-MC

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...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120725/9d7ed01f/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list