Get correct end of CCN hits. (Length of the part of the match
corresponding to END was not being taken into account.)
Removed some comments which were surely pasted from somewhere else
without being read.
Renamed base16_decode_skipping_whitespace to
base16_decode_skipping_invalid; more accurate.
Oops, don't skip *both* erstwhile nibbles when we discover that they
don't decode, only the first one. (This is because the pattern
guarantees that if a pair doesn't decode, the first nibble is
whitespace, so we need to shift right one byte and decode from there.)
Don't match trailing whitespace on hex patterns.
Make lg and flex base16 scanners agree on what counts as a linebreak.
Make lg and flex email scanners agree on what counts as a linebreak.
Whitespace.
The base16 scanners were improperly omitting the partName from pos0,
which confuses decoded hits with encoded hits.
base16 scanners were (wrongly) adding the start of the hit to pos0 of an
sbuf which already had pos0 equal to the start of the hit.
Whitespace.
Whitespace.
Oops, check the second byte of the hit, not the second byte of the
buffer.
Don't limit base16 scanner to 4096 nibbles.
Don't reallocate the IP address checks struct on each run of
valid_ipaddr().
Cleanup.
Added $OPTS to make it easy to specify options (e.g. "-j 1") for test runs.
Use the UTF-16LE credit card handler for UTF-16LE credit card patterns.
Updated to use current lg_add_pattern_list signature, which now also
takes a string indicating the source of the patterns.
Get rid of the global extern for FindOptsStruct and instead use a Meyers singleton via a static accessor in FindOpts. This restores findopts.h.