Open
Description
Add custom patterns for parsing patterned text into template and arguments. These will be used before attempting to parse with delimiters. The first pattern which matches will be used. For example, the user could provide a pattern like:
Service \w has a high error rate
where \w
will match any letters. The word which matches \w
will be used as an argument and the rest of the message will be used as the template.
The pattern syntax could be something like regex, but for efficiency, will probably need to be simpler. For example, we may just want to match the longest string of non-space characters.
The set of pattern will be provided by the user as an argument in the mapping.