initScan needs the scanner_params.
It works better if you remember to add the scanners to the scanner
vector.
Get LG_KeyOptions from the Handler, so that we can set case-sensitivity
per pattern.
DRY: Extracted repeated code in scan_*_lg to scan_lg.
Whitespace.
Converted accts and email to use a PatternScanner.
PHASE_STARTUP is for registering informational stuff and will be run for
all scanners, even disabled ones; PHASE_INIT is for setup for scanners
which will actually be used. Adjusted our lg scanners to reflect that.
The base16 scanner never added any digits to the CharClass it was
supposed to be filling---hence the scanner did a lot of work but was
ultimately a no-op. Also converted it into a lightgrep scanner.
The base16 scanner never added any digits to the CharClass it was
supposed to be filling---hence the scanner did a lot of work but was
ultimately a no-op. Fixed.