[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Need input: Rule IDs
- To: Tyler Thomas Hart <tylerthomashart _at_ gmail _dot_ com>
- Subject: Re: [PATCH] Need input: Rule IDs
- From: Hans-Peter Deifel <hpdeifel _at_ gmx _dot_ de>
- Date: Fri, 14 Dec 2012 11:24:58 +0100
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