Subversion Repositories wimsdev

Rev

Rev 2741 | Rev 3282 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

All comparisons are made on strings: <tt>string1 rel string2</tt>.
Comparisons can be joined using <tt>and</tt> and <tt>or</tt>. Parentheses may
be used to build complex comparison logics.

:Valid relations <tt>rel</tt>:
:Relation,Condition
:= </tt> or <tt>==
true if <tt> string1</tt> and <tt>string2</tt> are identical.
:!= </tt> or <tt>&lt;&gt;
true if <tt> string1</tt> and <tt>string2</tt> are NOT identical.
:<
true if (the numerical evaluation of) <tt>string1</tt> is < <tt>string2</tt>.
:<=
true if (the numerical evaluation of) <tt>string1</tt> is $m_le <tt>string2</tt>.
:>
true if (the numerical evaluation of) <tt>string1</tt> is > <tt>string2</tt>.
:>=
true if (the numerical evaluation of) <tt>string1</tt> is $m_ge <tt>string2</tt>.
:isin
true if <tt>string1</tt> is a substring of <tt>string2</tt>.
:notin
true if <tt>string1</tt> is NOT a substring of <tt>string2</tt>.
:iswordof
true if <tt>string1</tt> is a word of <tt>string2</tt>.
:notwordof
true if <tt>string1</tt> is NOT a word of <tt>string2</tt>.
:isvarof
true if <tt>string1</tt> is a (mathematical) variable of the expression  <tt>string2</tt>.
:notvarof
true if <tt>string1</tt> is NOT a (mathematical) variable of the expression <tt>string2</tt>.
:isvariableof
true if <tt> string1</tt> is a (mathematical) variable of the expression <tt>string2</tt>.
:notvariableof
true if <tt> string1</tt> is NOT a (mathematical) variable of the expression <tt>string2</tt>.
:isitemof
true if <tt> string1</tt> is an item of the list <tt>string2</tt>.
:notitemof
true if <tt> string1</tt> is NOT an item of the list <tt>string2</tt>.
:islineof
true if <tt> string1</tt> is a line of the list <tt>string2</tt>.
:notlineof
true if <tt> string1</tt> is NOT a line of the list <tt>string2</tt>.
:issamecase
true if <tt> string1</tt> and <tt>string2</tt> are the same text by a comparison insensitive to multiple spaces but case-sensitive.
:notsamecase
true if <tt> string1</tt> and <tt>string2</tt> are NOT the same text by a comparison nsensitive to multiple spaces but case-sensitive.
:issametext
true if <tt> string1</tt> and <tt>string2</tt> are the same text by a comparison insensitive to cases, multiple spaces and accented letters.
:notsametext
true if <tt> string1</tt> and <tt>string2</tt> are NOT the same text by a comparison insensitive to cases, multiple spaces and accented letters.