On Tue, Apr 19, 2016, at 10:20 AM, Bill Cole wrote:
> > I'm using an lmdb list.
> 
> I doubt that it is actually working as you expect...

And a big 'oops!' here. All my _other_ lmdb tables are fine.  Of course, the 
one example I'm asking about I got sloppy and 'polluted' with regex.  

Thanks for catching that!  Splitting it out.


> Those look a lot like regexp or pcre table entries. I'd expect them to 
> never match anything in a lmdb table, although I guess they don't raise 
> errors when postmap'ed. As the man page for lmdb_table says: the format 
> requires fixed keys, not regular expression patterns.

Apparently the 'non-regex' matches in the file DO match.

And, at least here, you're right , no errors raised @ postmap.  Which would be 
nice.  But, I should be checking my tables more closely, anyway.
 
> In a regexp or pcre table, where that style of entry DOES work, you 
> would be very slightly better off without the explicit wildcards because 
> the regular expression engine doesn't need to test every character in 
> the source string. In practice for hostname matching this would be 
> negligible.

That's the rule-of-thumb I'm looking for.

Thanks.

Jason

Reply via email to