Indeed, this gives a correct result.

Thank you all.

Jonas.



Being a "PERL Weenie" I don't delve into regular expressions any more than I have to. That caveat given, these "changes" produced the desired (and correct?) testing results

exten => 1234,n,Set(test=${REGEX("foo" ${footest})})
exten => 1234,n,verbose(test returned ${test})
returns 1

exten => 1234,n,Set(test=${REGEX("fob" ${footest})})
exten => 1234,n,verbose(test returned ${test})
returns 0


-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to