The Kamailio re.subst function is constructed as the following:
$sht(cnam=>$ci::calling_name)=$(var(rb){re.subst,/(.*)Calling-Name: ?([\W|0-9A-Za-z_]{5,500} ?[<>:@.|0-9A-Za-z_]{5,500})(.*)$/\2/s});
The issue here is that this re.subst function doesn't match the accents, I have tested this regex on
regex101.com and it does match. My question is how i can get the same result with re.subst?