pub const CREDIT_CARD: &str = r"\b(?:\d[ -]?){12,18}\d\b";Expand description
Visa / MC / Amex / Discover. Matches 13-19 digits, optionally separated by spaces or hyphens. Luhn validation is not performed — false positives are preferred over false negatives for logs.