Test, validate and match regular expressions
Parses lines from fixed-width Brazilian bank statement (extrato) files by validating the leading three digits against known COMPE/BACEN bank codes (e.g., 001 Banco do Brasil, 237 Bradesco, 341 Itaú). Positional skips (.{4}, .{45}, .{72}) navigate the flat-file layout to capture a 4-digit field, a 12-digit amount, and a trailing 8-digit date (DDMMAAAA). Intended for extracting transaction values and dates from legacy statement exports, using gm flags for line-by-line matching.