Regex match value
This section is available only in EnglishThis 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”.
XML representation of regex_match block
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="regex_match">
<field name="MATCH"/>
</block>
</xml>
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.
Login permitted from 192.168.10.1/1234 to inside:192.168.1.1/https for user admin