teemtee / fmf

Flexible Metadata Format
GNU General Public License v2.0
22 stars 28 forks source link

Add operator for REGEX matching in context #226

Open lukaszachy opened 6 months ago

lukaszachy commented 6 months ago

Add two operators: ~ for match !~ for not match

Note we have ~= and similar for "major version" comparison. However since ~ is used in tmt hardware it make sense to use such symbol here as well

LecrisUT commented 6 months ago

Let me add to this, the regex matches should be exposed as context objects:

This could be particularly useful in combination with #227