[Home]

Summary:ASTERISK-05284: [patch] REGEX function provides incorrect string to evaluate
Reporter:Russell Bryant (russell)Labels:
Date Opened:2005-10-11 21:01:51Date Closed:2005-10-11 22:28:08
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Functions/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) func_regex.patch
Description:There is no way that the REGEX dialplan function ever worked in its current form.  It passes the entire input string provided to the function as the string to evaluate with the given regular expression.

I have fixed this as well as utilized the buffer that is provided to the function to return the result instead of  allocating something new for the result.

****** ADDITIONAL INFORMATION ******

Another concern that I have with this function is that the format for the arguments is not consistent with other functions.  However, this patch does not address this issue.
Comments:By: Matthew Fredrickson (mattf) 2005-10-11 22:27:16

drumkilla went ahead and committed this to cvs head