[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Need input: Rule IDs



Hi,

On Fr, Dez 14 2012, Tyler Thomas Hart wrote:
> I need ideas on printing the regex_t stored for regex conditions.

You can't. Just store the original string somewhere with the rule.

> We need to decide a way how to handle the rare-rare cases when the index
> rolls over.

I'd say, if you're paranoid, use a 64-bit value and you're safe. Even if
a rule is created every microsecond, that would still last 584554 years
(5.3 times the time since the beginning of the last glacial period,
according to wolframalpha ;)

HP