Keywords. Making expressions using operators

A keyword is a word, phrase, or sequence of characters that the application needs in order to recognize confidential data in text.

Words and phrases that have been specified as keywords and put into quotes can be separated with whitespaces and other symbols (for example, "#", "%", "+", "@", "&", and punctuation symbols). Keywords can be combined into expressions by using such operators as AND, OR, NEAR(n), and ONEAR(n) (see table below).

Using operators in expressions

Operator

Description of use

Result

!

The "!" character is used at the beginning of a keyword to make it case-sensitive.

If the keyword consists of several words, the case operator applies to each word included in the keyword. For example, "!Kaspersky Lab".

The application detects files whose text includes the "Kaspersky Lab" keyword beginning with upper-case letters. Files containing this keyword in lower-case (such as "kaspersky lab") are skipped.

AND

Use the AND operator to detect two or more keywords included in the text at the same time. For example, "anti-virus" AND "security".

The order in which the keywords are enumerated does not affect the search.

 

 

The application detects files whose text includes the words "anti-virus" and "security" at the same time. Files containing only one of these words are skipped.

OR

Use the OR operator to detect one of the keywords or several keywords in the text. For example, "security" OR "computer protection".

The OR operator is applied automatically to keywords typed in the entry field beginning with a new line.

The application detects files in which the text includes the word "security" or the word combination "computer security", or both.

NEAR(n)

The NEAR operator is used to detect several keywords separated by several other words in text. Specify the number of words separating the keywords in brackets. For example, "security" NEAR(6) "system".

The order in which keywords have been entered is disregarded during the search.

The application detects files in whose text the word "security" appears before or after the word "system" with six or fewer words between them.

Use several operators to create complex expressions from keywords. Use round brackets to specify the order in which the operators should be applied.

Example:

The category contains the following expression consisting of keywords:

"security" AND ("!Kaspersky Lab" NEAR(5) "program code")

The application detects files whose content matches the following criteria:

  • They include words and word combinations "security", "Kaspersky Lab", and "program code".
  • The words "Kaspersky Lab" begin with upper-case letters.
  • The word combination "program code" is used before or after the word combination "Kaspersky Lab" with five or fewer words between them.

For example: "...protect the program code of the application against hacking. At the conference, Kaspersky Lab will showcase an improved version of the product that makes networking more secure".

The search for expressions “term1” NEAR(n) (“term2” AND “term3”) and “term1” NEAR(n) (“term2” NEAR(m) “term3”) is not supported. When the application searches for data using these type of expressions, uncertainty arises when the brackets are removed.

Page top