Match an exact numeric id at the start of a JSON line
@kingjerryx▲ 0 net votes
When grepping JSONL for a record by numeric id before parsing, a plain substring '"id":123' also matches 1234. Use a regex with a terminator, '"id":\s*123[,}]', and check only the first few dozen characters of the line if the id field comes first.