Logmanager documentation
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Escaped match escaped value

Block is used to define regex sub constant which is automatically escaped to be regex safe. Content of the block is text.

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

  • Expression " permitted from “: no variable is the output, spaces on the beginning and on the end of the expression doesn’t have to be escaped.

Block XML representation

XML representation of regex_match_escaped block

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

Example of visual representation

Block "Escaped match value"

Block “Escaped match value”

Example of block usage

Example of "Escaped match value" block

Example of “Escaped match value” block

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

  • Expression ” to inside: “: processes the input text including the space on the beginning of the expression,
  • Expression ”/": processes “/”, which doesn’t have to be escaped,
  • Expression " for user “: processes input text including the space on the beginning and on the end of the expression.

Input data

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

Processing result

Results of "Escaped match value" block

Results of “Escaped match value” block