Skip to content

Commit 040221b

Browse files
jpipkin1kimsauce
andauthored
DOCS-1204 - Note about the = operator (#5930)
* Update * Update docs/cse/rules/cse-rules-syntax.md Co-authored-by: Kim (Sumo Logic) <[email protected]> --------- Co-authored-by: Kim (Sumo Logic) <[email protected]>
1 parent 7b19bf1 commit 040221b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/cse/rules/cse-rules-syntax.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,10 @@ The equal to (=) function returns “true” if the expressions are equal, or 
195195

196196
`null = null`
197197

198+
:::note
199+
The `=` and `==` functions do not match against a regular expression or pattern. Instead, use the [`like`](#like) function.
200+
:::
201+
198202
### ==
199203

200204
The double equal sign (==) function returns “true” if the two expressions are equal. The two expressions must be the same type, and must be a type that can be used in an equality comparison. For complex types such as array and struct, the data types of fields must be orderable.

0 commit comments

Comments
 (0)