Go to most recent revision | Details | 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 | |
3263 | bpr | 5 | :Valid relations <tt>rel</tt>: |
6 | :Relation,Condition |
||
7 | := </tt> or <tt>== |
||
8 | true if <tt> string1</tt> and <tt>string2</tt> are identical. |
||
9 | :!= </tt> or <tt><> |
||
10 | true if <tt> string1</tt> and <tt>string2</tt> are NOT identical. |
||
11 | :< |
||
12 | true if (the numerical evaluation of) <tt>string1</tt> is < <tt>string2</tt>. |
||
13 | :<= |
||
14 | true if (the numerical evaluation of) <tt>string1</tt> is $m_le <tt>string2</tt>. |
||
15 | :> |
||
16 | true if (the numerical evaluation of) <tt>string1</tt> is > <tt>string2</tt>. |
||
17 | :>= |
||
18 | true if (the numerical evaluation of) <tt>string1</tt> is $m_ge <tt>string2</tt>. |
||
19 | :isin |
||
20 | true if <tt>string1</tt> is a substring of <tt>string2</tt>. |
||
21 | :notin |
||
22 | true if <tt>string1</tt> is NOT a substring of <tt>string2</tt>. |
||
23 | :iswordof |
||
24 | true if <tt>string1</tt> is a word of <tt>string2</tt>. |
||
25 | :notwordof |
||
26 | true if <tt>string1</tt> is NOT a word of <tt>string2</tt>. |
||
27 | :isvarof |
||
28 | true if <tt>string1</tt> is a (mathematical) variable of the expression <tt>string2</tt>. |
||
29 | :notvarof |
||
30 | true if <tt>string1</tt> is NOT a (mathematical) variable of the expression <tt>string2</tt>. |
||
31 | :isvariableof |
||
32 | true if <tt> string1</tt> is a (mathematical) variable of the expression <tt>string2</tt>. |
||
33 | :notvariableof |
||
34 | true if <tt> string1</tt> is NOT a (mathematical) variable of the expression <tt>string2</tt>. |
||
35 | :isitemof |
||
36 | true if <tt> string1</tt> is an item of the list <tt>string2</tt>. |
||
37 | :notitemof |
||
38 | true if <tt> string1</tt> is NOT an item of the list <tt>string2</tt>. |
||
39 | :islineof |
||
40 | true if <tt> string1</tt> is a line of the list <tt>string2</tt>. |
||
41 | :notlineof |
||
42 | true if <tt> string1</tt> is NOT a line of the list <tt>string2</tt>. |
||
43 | :issamecase |
||
44 | true if <tt> string1</tt> and <tt>string2</tt> are the same text by a comparison insensitive to multiple spaces but case-sensitive. |
||
45 | :notsamecase |
||
46 | true if <tt> string1</tt> and <tt>string2</tt> are NOT the same text by a comparison nsensitive to multiple spaces but case-sensitive. |
||
47 | :issametext |
||
48 | true if <tt> string1</tt> and <tt>string2</tt> are the same text by a comparison insensitive to cases, multiple spaces and accented letters. |
||
49 | :notsametext |
||
50 | 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. |