Logmanager dokumentace
Přepnout tmavý/světlý/automatický režim Přepnout tmavý/světlý/automatický režim Přepnout tmavý/světlý/automatický režim Zpět na domovskou stránku

Regex match value

This section is available only in English

This block is used to create regular expression. Content of the block is text, which can contain arbitrary amount of regular expressions.

Content of the “regex match value” block can be for example:

  • Login permitted .*: no variable is the output,
  • (?P<operation>.*) permitted .*: output is variable “operation”.

Block XML representation

XML representation of regex_match block

<xml xmlns="http://www.w3.org/1999/xhtml">
  <block type="regex_match">
    <field name="MATCH"/>
  </block>
</xml>

Example of visual representation

Block "Regex match value"

Block “Regex match value”

Example of block usage

Example of "Regex match value" block

Example of “Regex match value” block

Block is used on the “by regex” row in the example:

  • expression permitted from processes input text including escaped spaces, this part of the text will not be saved on the output,
  • expression / processes symbol “/” in the input text, symbol will not be saved on the output.

Input data

Login permitted from 192.168.10.1/1234 to inside:192.168.1.1/https for user admin

Processing result

Results of "Regex match value"

Results of “Regex match value”