Subversion Repositories wimsdev

Rev

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

Rev Author Line No. Line
3263 bpr 1
All comparisons are made on strings: <tt>string1 rel string2</tt>.
2
Comparisons can be joined using <tt>and</tt> and <tt>or</tt>. Parentheses may
3
be used to build complex comparison logics.
196 bpr 4
 
3469 bpr 5
:Valid relations
3263 bpr 6
:Relation,Condition
3469 bpr 7
:==
8
string1  ==  string2  string1  ==  string2
3263 bpr 9
true if <tt> string1</tt> and <tt>string2</tt> are identical.
3469 bpr 10
:!=
11
string1  !=  string2  string1  &lt;&gt;  string2
3263 bpr 12
true if <tt> string1</tt> and <tt>string2</tt> are NOT identical.
13
:<
3469 bpr 14
string1  <  string2
3263 bpr 15
true if (the numerical evaluation of) <tt>string1</tt> is < <tt>string2</tt>.
16
:<=
3469 bpr 17
string1  <=  string2
3263 bpr 18
true if (the numerical evaluation of) <tt>string1</tt> is $m_le <tt>string2</tt>.
19
:>
3469 bpr 20
string1  >  string2
3263 bpr 21
true if (the numerical evaluation of) <tt>string1</tt> is > <tt>string2</tt>.
22
:>=
3469 bpr 23
string1  >=  string2
3263 bpr 24
true if (the numerical evaluation of) <tt>string1</tt> is $m_ge <tt>string2</tt>.
25
:isin
3469 bpr 26
string1  isin  string2
3263 bpr 27
true if <tt>string1</tt> is a substring of <tt>string2</tt>.
28
:notin
3469 bpr 29
string1  notin  string2
3263 bpr 30
true if <tt>string1</tt> is NOT a substring of <tt>string2</tt>.
31
:iswordof
3469 bpr 32
string1  iswordof  string2
3263 bpr 33
true if <tt>string1</tt> is a word of <tt>string2</tt>.
34
:notwordof
3469 bpr 35
string1  notwordof  string2
3263 bpr 36
true if <tt>string1</tt> is NOT a word of <tt>string2</tt>.
37
:isvarof
3469 bpr 38
string1  isvarof  string2
3263 bpr 39
true if <tt>string1</tt> is a (mathematical) variable of the expression  <tt>string2</tt>.
40
:notvarof
3469 bpr 41
string1  notvarof  string2
3263 bpr 42
true if <tt>string1</tt> is NOT a (mathematical) variable of the expression <tt>string2</tt>.
43
:isvariableof
3469 bpr 44
string1  isvariableof  string2
3263 bpr 45
true if <tt> string1</tt> is a (mathematical) variable of the expression <tt>string2</tt>.
46
:notvariableof
3469 bpr 47
string1  notvariableof  string2
3263 bpr 48
true if <tt> string1</tt> is NOT a (mathematical) variable of the expression <tt>string2</tt>.
49
:isitemof
3469 bpr 50
string1  isitemof  string2
3263 bpr 51
true if <tt> string1</tt> is an item of the list <tt>string2</tt>.
52
:notitemof
3469 bpr 53
string1  notitemof  string2
3263 bpr 54
true if <tt> string1</tt> is NOT an item of the list <tt>string2</tt>.
55
:islineof
3469 bpr 56
string1  islineof  string2
3263 bpr 57
true if <tt> string1</tt> is a line of the list <tt>string2</tt>.
58
:notlineof
3469 bpr 59
string1  notlineof  string2
3263 bpr 60
true if <tt> string1</tt> is NOT a line of the list <tt>string2</tt>.
61
:issamecase
3469 bpr 62
string1  issamecase  string2
3263 bpr 63
true if <tt> string1</tt> and <tt>string2</tt> are the same text by a comparison insensitive to multiple spaces but case-sensitive.
64
:notsamecase
3469 bpr 65
string1  notsamecase  string2
3263 bpr 66
true if <tt> string1</tt> and <tt>string2</tt> are NOT the same text by a comparison nsensitive to multiple spaces but case-sensitive.
67
:issametext
3469 bpr 68
string1  issametext  string2
3263 bpr 69
true if <tt> string1</tt> and <tt>string2</tt> are the same text by a comparison insensitive to cases, multiple spaces and accented letters.
70
:notsametext
3469 bpr 71
string1  notsametext  string2
3263 bpr 72
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.
3469 bpr 73