[ic] '!~' and 'rn' are not equivalent

Grant emailgrant at gmail.com
Wed Mar 10 19:35:17 UTC 2010


>> Since they have identical definitions under mv_column_op here:
>>
>> http://www.icdevgroup.org/interchange-doc-5.2.0/frames/icdatabase_38.html
>>
>> I was under the impression that '!~' and 'rn' were equivalent
>> operators.  After some testing I see that they are not.  Can anyone
>> tell me what is the difference between them?
>
>
> Looks like the difference is that `rn` is case-sensitive, while '!~' is not.

Not from what I'm seeing.  I get true from the following:

[if type=explicit compare="'456 789' !~ '123'"]
        true
[else]
        false
[/else]
[/if]

and false from the following:

[if type=explicit compare="'456 789' rn '123'"]
        true
[else]
        false
[/else]
[/if]

- Grant



More information about the interchange-users mailing list