Scripting Operators » History » Version 17
Per Amundsen, 10/22/2015 03:53 PM
1 | 1 | Per Amundsen | h1. Scripting Operators |
---|---|---|---|
2 | |||
3 | <pre> |
||
4 | === |
||
5 | ismatch |
||
6 | isin |
||
7 | isincs |
||
8 | ison |
||
9 | isop |
||
10 | ishop |
||
11 | issop |
||
12 | isowner |
||
13 | isvoice |
||
14 | isnum |
||
15 | ischan |
||
16 | isreg |
||
17 | iswm |
||
18 | iswmcs |
||
19 | isletter |
||
20 | isalpha |
||
21 | isalnum |
||
22 | islower |
||
23 | isupper |
||
24 | isban |
||
25 | isinvite |
||
26 | isexcept |
||
27 | isignore |
||
28 | 9 | Per Amundsen | isurl |
29 | 3 | Per Amundsen | !> |
30 | !< |
||
31 | 1 | Per Amundsen | !<= |
32 | !>= |
||
33 | !=== |
||
34 | 4 | Per Amundsen | !// |
35 | !\\ |
||
36 | !& |
||
37 | 3 | Per Amundsen | !ismatch |
38 | !isin |
||
39 | !isincs |
||
40 | !ison |
||
41 | !isop |
||
42 | !ishop |
||
43 | !issop |
||
44 | !isowner |
||
45 | !isvoice |
||
46 | !isnum |
||
47 | !ischan |
||
48 | !isreg |
||
49 | !iswm |
||
50 | !iswmcs |
||
51 | !isletter |
||
52 | !isalpha |
||
53 | !isalnum |
||
54 | !islower |
||
55 | !isupper |
||
56 | !isban |
||
57 | !isinvite |
||
58 | 1 | Per Amundsen | !isexcept |
59 | 3 | Per Amundsen | !isignore |
60 | !isurl |
||
61 | 9 | Per Amundsen | </pre> |
62 | 1 | Per Amundsen | |
63 | 10 | Per Amundsen | h2. Math Comparison Operators |
64 | 13 | Per Amundsen | |
65 | 10 | Per Amundsen | |_.Syntax |_.Name |_<.Result | |
66 | |=. <notextile>%x == %y</notextile> |
||
67 | 11 | Per Amundsen | <notextile>%x = %y</notextile> |
68 | 12 | Per Amundsen | <notextile>%x != %y</notextile> |
69 | 16 | Per Amundsen | <notextile>%x !== %y</notextile> |
70 | 12 | Per Amundsen | <notextile>%x < %y</notextile> |
71 | <notextile>%x > %y</notextile> |
||
72 | <notextile>%x <= %y</notextile> |
||
73 | <notextile>%x >= %y</notextile> |
||
74 | <notextile>%x // %y</notextile> |
||
75 | <notextile>%x \\ %y</notextile> |
||
76 | <notextile>%x & %y</notextile> |
||
77 | |^. Equal |
||
78 | 15 | Per Amundsen | Equal |
79 | 1 | Per Amundsen | Not equal |
80 | 16 | Per Amundsen | Not equal |
81 | 10 | Per Amundsen | Less than |
82 | Greater than |
||
83 | Less than or equal to |
||
84 | Greater than or equal to |
||
85 | Multiple Of (Divides) |
||
86 | Not Multiple Of (Not Divides) |
||
87 | Bitwise And |
||
88 | |^. True, if %x is equal to %y. |
||
89 | True, if %x is equal to %y. |
||
90 | 16 | Per Amundsen | True, if %x is not equal to %y. |
91 | 10 | Per Amundsen | True, if %x is not equal to %y. |
92 | True, if %x is strictly less than %y. |
||
93 | True, if %x is strictly greater than %y. |
||
94 | True, if %x is less than or equal to %y. |
||
95 | True, if %x is greater than or equal to %y. |
||
96 | True, if %x divides %y. |
||
97 | True, if %x does not divides %y. |
||
98 | True, if (bit representation of) %x AND %y is a none zero. |
||
99 | 14 | Per Amundsen | | |
100 | 17 | Per Amundsen | |
101 | h2. String Comparison Operators |
||
102 | |||
103 | |_.Syntax |_.Name |_<.Result | |
||
104 | |=. %x isin %y |
||
105 | %x isincs %y |
||
106 | %x iswm %y |
||
107 | %x iswmcs %y |
||
108 | %x isnum |
||
109 | %x isnum N |
||
110 | %x isnum N- |
||
111 | %x isnum N-M |
||
112 | %x isletter |
||
113 | %x isletter N |
||
114 | %x isalnum |
||
115 | %x isalpha |
||
116 | %x islower |
||
117 | %x isupper |
||
118 | |^. Is In |
||
119 | Is In (case sensitive) |
||
120 | Wildcard Matching |
||
121 | Wildcard Matching (case sensitive) |
||
122 | Is Digit |
||
123 | Is Digit, Equal to |
||
124 | Is Digit, Greater than or equal to |
||
125 | Is Digit, in Range |
||
126 | Is a Letter |
||
127 | Is a Letter In A List |
||
128 | Alphanumeric Characters |
||
129 | Alphabetic Characters |
||
130 | All lower case letters |
||
131 | All upper case letters |
||
132 | |^. True, if %x is fully found inside %y. |
||
133 | True, if %x is fully found inside (case sensitive) %y. |
||
134 | True, if wildcard string %x matches %y. |
||
135 | True, if wildcard string %x matches (case sensitive) %y. |
||
136 | True, if %x is a number. |
||
137 | True, if %x is number N. |
||
138 | True, if %x is number N or greater. |
||
139 | True, if %x is a number between N and M (inclusively). |
||
140 | True, if %x is a letter. |
||
141 | True, if %x is a letter in a list of letters. |
||
142 | True, if %x contains only alphabetic or numeric characters. |
||
143 | True, if %x contains only alphabetic characters. |
||
144 | True, if %x contains only lower case letters. |
||
145 | True, if %x contains only upper case letters. |
||
146 | | |