rsyslog / rsyslog-website

website-related material, most importantly the issue tracker
6 stars 4 forks source link

regex tool: add option for use in string templates #4

Open rgerhards opened 10 years ago

rgerhards commented 10 years ago

These require a bit different escaping than the traditional $template string (which actually did the escaping wrong...).

Ralnoc commented 10 years ago

I give a big +1 to this. I use the regex tool extensively and have often wished there was a way of generating regex for use in string templates. This is especially true for when you need to generate regex for things like the re_extract() function which, like string templates, uses a slightly different escape configuration to the %property% based regex.