Hello, just an idea, have you already tried this module: https://www.kamailio.org/docs/modules/stable/modules/regex.html
Cheers, Henning -- Henning Westerholt – https://skalatan.de/blog/ Kamailio services – https://gilawa.com<https://gilawa.com/> From: sr-users <[email protected]> On Behalf Of Marat Gareev Sent: Tuesday, October 13, 2020 10:55 AM To: Kamailio (SER) - Users Mailing List <[email protected]> Subject: [SR-Users] Caseless regex Hello, Is it possible write more readable regular expression if ($tU =~ "(?i)^test$") { ... } instead of "^[tT][eE][sS][tT]$"? On the first option, I get the error: 0(47250) ERROR: <core> [core/rvalue.c:3038]: fix_match_rve(): Bad regular expression Regards, Marat
_______________________________________________ Kamailio (SER) - Users Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
