New in version 4.2.
The wazuh-regex program is used to validate a regex expression.
The pattern should be enclosed in single quotes to help prevent any unintended interactions with the shell.
The syntax for wazuh-regex is as follows:
It then reads strings from stdin and outputs matches to stdout.
+OS_Regex are displayed if a match is successful.