Unsubscribe
Get Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: Users <[email protected]> on behalf of
[email protected] <[email protected]>
Sent: Tuesday, January 2, 2024 2:00:01 PM
To: [email protected] <[email protected]>
Subject: Users Digest, Vol 186, Issue 1
CAUTION: This email originated from outside of the organization. Do not click
links or open attachments unless you recognize the sender and know the content
is safe.
Send Users mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.opensips.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fusers&data=05%7C02%7Cregardt%40rain.co.za%7Ce223cfc6eba34f93127008dc0b8a6e95%7C5b67f9a1ea53476ba4ed075b7bab99f8%7C0%7C0%7C638397936424461632%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C7000%7C%7C%7C&sdata=ryaCNX5um0S8iT3lPhJIgI2ORiRNfrCbqwmhvGOhoRw%3D&reserved=0<http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Users digest..."
Today's Topics:
1. regular expression matching question (Faheem Muhammad)
----------------------------------------------------------------------
Message: 1
Date: Tue, 2 Jan 2024 15:24:45 +0400
From: Faheem Muhammad <[email protected]>
To: OpenSIPS users mailling list <[email protected]>
Subject: [OpenSIPS-Users] regular expression matching question
Message-ID:
<ca++nn_yyac1h2vgzav-l0otgkywvgb5rc8p7lob83wunuxp...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Hi everyone,
Firstly, I wish you all a Happy New Year with the best wishes for each
community member and the OpenSIPS project.
I have a question related to regular expressions matching in an IF
condition.
There are two identical regular expressions. One RE is matching and one RE
is not matching the pattern.
*Sample $fU Range: *+966123456700 to +96612345650
# RE1 - Matching Regular expression
if($fU =~"\+9661234567[0-4][0-9]|\+966123456750"){
xlog("re matched\n")
}
# RE2 - Non matching Regular expression
if($fU ~="\+9661234567([0-4]\d|50)"){
} # RE not matched
Can anyone please suggest what I'm doing wrong?
*OpenSIPS version*: 3.2.3
OS: *Debian 12*
Best regards,
M. Faheem
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.opensips.org%2Fpipermail%2Fusers%2Fattachments%2F20240102%2F250194a1%2Fattachment-0001.html&data=05%7C02%7Cregardt%40rain.co.za%7Ce223cfc6eba34f93127008dc0b8a6e95%7C5b67f9a1ea53476ba4ed075b7bab99f8%7C0%7C0%7C638397936424461632%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C7000%7C%7C%7C&sdata=rJC9bSAjdc2akg2XrZJU1Wo%2Bu6xBSUVdHaE5EuP%2BWv8%3D&reserved=0<http://lists.opensips.org/pipermail/users/attachments/20240102/250194a1/attachment-0001.html>>
------------------------------
Subject: Digest Footer
_______________________________________________
Users mailing list
[email protected]
https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.opensips.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fusers&data=05%7C02%7Cregardt%40rain.co.za%7Ce223cfc6eba34f93127008dc0b8a6e95%7C5b67f9a1ea53476ba4ed075b7bab99f8%7C0%7C0%7C638397936424461632%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C7000%7C%7C%7C&sdata=ryaCNX5um0S8iT3lPhJIgI2ORiRNfrCbqwmhvGOhoRw%3D&reserved=0<http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
------------------------------
End of Users Digest, Vol 186, Issue 1
*************************************
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users