[Freeswitch-dev] Lua session:playAndGetDigits regex

Robert Clayton rjcajax at gmail.com
Fri Mar 27 11:15:11 PDT 2009

Sorry the last line in my last email used a forward slash rather than a

It should read:

The escape characters seem to disappear and FS attempts to use the, \* an
asterisk character, as * a metecharacter.

On Fri, Mar 27, 2009 at 2:02 PM, Michael Collins <msc at freeswitch.org> wrote:

> 2009/3/27 Robert Clayton <rjcajax at gmail.com>:
> > As I understand it everything entered in square brackets(a character
> class)
> > is literal. In parentheses it is read as a metacharacter.
> Character classes have their own rules. I don't recommend using them
> unless you know precisely what you are doing. I like Brian's regex of
> "(\*|\d{6})"
> In brackets you have interesting things, like dashes not always being
> dashes and a leading caret meaning negation.
> [^A-Z]  <== what does this mean? ;)
> In any case, check the regular expressions page on the wiki for more
> online resources.
> -MC
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090327/dcea8596/attachment.html 

More information about the Freeswitch-dev mailing list