Skip to content

Commit 3c4b757

Browse files
[Ruleset Engine] Update operators.mdx (#21246)
* Added: All string operators are case-sensitive unless explicitly stated as case-insensitive, such as the `wildcard` operator. --------- Co-authored-by: Pedro Sousa <[email protected]>
1 parent b92642d commit 3c4b757

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/content/docs/ruleset-engine/rules-language/operators.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ The Rules language supports these comparison operators:
4545
<td></td>
4646
<th>English</th>
4747
<th>C-like</th>
48-
<th>String</th>
48+
<th>String<sup>1</sup></th>
4949
<th>IP</th>
5050
<th>Number</th>
5151
<th>Example (operator in bold)</th>
@@ -130,7 +130,7 @@ The Rules language supports these comparison operators:
130130
</td>
131131
</tr>
132132
<tr>
133-
<td>Wildcard<sup>1</sup><br/>(case-insensitive)</td>
133+
<td><a href="#wildcard-matching">Wildcard</a><br/>(case-insensitive)</td>
134134
<td><code>wildcard</code></td>
135135
<td></td>
136136
<td>✅</td>
@@ -141,7 +141,7 @@ The Rules language supports these comparison operators:
141141
</td>
142142
</tr>
143143
<tr>
144-
<td>Strict wildcard<sup>1</sup><br/>(case-sensitive)</td>
144+
<td><a href="#wildcard-matching">Strict wildcard</a><br/>(case-sensitive)</td>
145145
<td><code>strict wildcard</code></td>
146146
<td></td>
147147
<td>✅</td>
@@ -152,7 +152,7 @@ The Rules language supports these comparison operators:
152152
</td>
153153
</tr>
154154
<tr>
155-
<td>Matches<br />regex<sup>2</sup></td>
155+
<td><a href="#regular-expression-matching">Matches<br />regex</a><sup>2</sup></td>
156156
<td><code>matches</code></td>
157157
<td><code>~</code></td>
158158
<td>✅</td>
@@ -179,8 +179,8 @@ The Rules language supports these comparison operators:
179179
</div>
180180

181181
{/* prettier-ignore */}
182-
<sup>1</sup> For more information, refer to [Wildcard matching](#wildcard-matching).<br/>
183-
<sup>2</sup> Access to the `matches` operator requires a Cloudflare Business or Enterprise plan. For more information, refer to [Regular expression matching](#regular-expression-matching).<br/>
182+
<sup>1</sup> All string operators are case-sensitive unless explicitly stated as case-insensitive, such as the `wildcard` operator.<br/>
183+
<sup>2</sup> Access to the `matches` operator requires a Cloudflare Business or Enterprise plan.<br/>
184184
<sup>3</sup> Currently, not all Cloudflare products support lists in their expressions. For more information on lists, refer to [Inline lists](/ruleset-engine/rules-language/values/#inline-lists) and [Lists](/waf/tools/lists/).
185185

186186
:::caution

0 commit comments

Comments
 (0)