mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 09:03:49 +00:00
Remove the \$ and replace with $ the \ escape is not needed.
This commit is contained in:
@@ -257,7 +257,7 @@
|
||||
if (r.dialplan_detail_type == "destination_number") then
|
||||
if (api:execute("regex", "m:~"..destination_number.."~"..r.dialplan_detail_data) == "true") then
|
||||
--get the regex result
|
||||
destination_result = trim(api:execute("regex", "m:~"..destination_number.."~"..r.dialplan_detail_data.."~\$1"));
|
||||
destination_result = trim(api:execute("regex", "m:~"..destination_number.."~"..r.dialplan_detail_data.."~$1"));
|
||||
--set match equal to true
|
||||
regex_match = true
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user