diff --git a/docs/reference/eql/functions.asciidoc b/docs/reference/eql/functions.asciidoc index ac0d797b2c1..d16549b4538 100644 --- a/docs/reference/eql/functions.asciidoc +++ b/docs/reference/eql/functions.asciidoc @@ -547,66 +547,6 @@ field data types: *Returns:* integer or `null` -[discrete] -[[eql-fn-match]] -=== `match` - -Returns `true` if a source string matches one or more provided regular -expressions. Matching is case-sensitive. - -*Example* -[source,eql] ----- -match("explorer.exe", "[a-z]*?.exe") // returns true -match("explorer.exe", "[a-z]*?.exe", "[1-9]") // returns true -match("explorer.exe", "[1-9]") // returns false -match("explorer.exe", "") // returns false - -// process.name = "explorer.exe" -match(process.name, "[a-z]*?.exe") // returns true -match(process.name, "[a-z]*?.exe", "[1-9]") // returns true -match(process.name, "[1-9]") // returns false -match(process.name, "") // returns false - -// null handling -match(null, "[a-z]*?.exe") // returns null ----- - -*Syntax* -[source,txt] ----- -match(, [, ...]) ----- - -*Parameters* - -``:: -+ --- -(Required, string or `null`) -Source string. If `null`, the function returns `null`. - -If using a field as the argument, this parameter supports only the following -field data types: - -* A type in the <> family -* <> field with a <> sub-field --- - -``:: -+ --- -(Required{multi-arg-ref}, string) -Regular expression used to match the source string. For supported syntax, see -<>. -https://docs.oracle.com/javase/tutorial/essential/regex/pre_char_classes.html[Predefined -character classes] are not supported. - -Fields are not supported as arguments. --- - -*Returns:* boolean or `null` - [discrete] [[eql-fn-modulo]] === `modulo` diff --git a/docs/reference/eql/syntax.asciidoc b/docs/reference/eql/syntax.asciidoc index 6ad4c05d662..39d2f151efe 100644 --- a/docs/reference/eql/syntax.asciidoc +++ b/docs/reference/eql/syntax.asciidoc @@ -726,6 +726,8 @@ three double quotes (`"""`) instead. *** {eql-ref}/functions.html#arrayCount[`arrayCount`] *** {eql-ref}/functions.html#arraySearch[`arraySearch`] +** The {eql-ref}//functions.html#match[`match`] function + ** {eql-ref}/joins.html[Joins] ** {eql-ref}/basic-syntax.html#event-relationships[Lineage-related keywords]: