Free-spacing (x modifier) support?
Is free-spacing support in the roadmap per chance?
x modifier is already supported by Hyperscan
Thanks. It appears that it is supported as an inline option modifier ((?x)), but not as a flag (HS_FLAG_*). Is there a reason for that?
HS_FLAG_* flags are used to support most frequent used modifiers based on customers' request. Given limited usage of x modifier in real networking systems, we don't explicitly define it with HS_FLAG_*. Do you have any specific use case that is highly depending on this modifier?
We use Hyperscan to evaluate the regular expressions in a language we developed, in which we allow the use of the x flag to make the regexs more readable. In the language the regexs are expressed in the usual syntax (e.g. /foo.*/ix). We translate the expression flags to HS_FLAG_* flags, but a HS_FLAG_* for x is missing. It is easy enough to prepend the expression with the inline option modifier if we see the x flag, but for completeness it seems there should be a HS_FLAG_* for it.