[Serdev] Bug in the | operator?

Federico Giannici giannici at neomedia.it
Mon Sep 26 13:39:52 UTC 2005


Please excuse me, obviously I had an hallucination!
I was SURE that I read somewere that that syntax was supported.
Now I searched all SER documentation files and found nothing!
Obviously I mistook an "=~" as an "=="...

Please, forgive me...  :-(



Federico Giannici wrote:
> As in "serusers" there was no reply to my previous email, I'm trying to 
> ask it here.
> 
> I found that in a command like the following, only the first two 
> alternatives are recognised (REGISTER and INVITE) but MESSAGE is never 
> matched:
> 
>       if ( method == "REGISTER|INVITE|MESSAGE" )
> 
> So, which is true?
> 
> 1) It is a bug.
> 
> 2) It is a known limitation of the "|" operator.
> 
> 3) It is a mistake by me.
> 
> 
> Thanks.
> 
> 
> Federico Giannici wrote:
> 
>> The "|" operator (in expressions like method == 
>> "REGISTER|INVITE|MESSAGE") seems to DON'T work when used more than 
>> once in the string (with more than two choices).
>>
>> Is this a known limitation?
>>
>>
>> Thanks.
>>
> 
> 


-- 
___________________________________________________
     __
    |-                      giannici at neomedia.it
    |ederico Giannici      http://www.neomedia.it

         Presidente del cda - NEOMEDIA srl
___________________________________________________




More information about the Serdev mailing list