[asterisk-users] question about regex

Rilawich Ango maillisting at gmail.com
Tue Feb 13 02:43:05 MST 2007


Hi,  I have tried the regex function below with MACRO_EXTEN=5000*.
However, both of them return 0 instead 1 to me.  How can I search the
character in the end of line?

${REGEX("[*]$" ${MACRO_EXTEN})
returns 0

${REGEX("*$" ${MACRO_EXTEN})
returns 0 with error

ango


More information about the asterisk-users mailing list