Test, validate and match regular expressions
Matches MikroTik router log entries recording user login events. Extracts three named capture groups: the username ('user'), the source IP address ('from_ip'), and the access method such as ssh, telnet, or winbox ('tty'). The multiline flag enables parsing multi-line log files, making it ideal for syslog analysis and security auditing of router access.