HF RL Explorer

payment card masking: edge case

payment card masking: edge case: a task in smol-software-harbor (Harbor dataset). Card numbers written with dashes ( 5500-0000-0000-0004 ) are rejected by mask in src/lib.rs , although its doc comment says spaces and dashes are both ignored ( dashes fails). Fix it and run cargo test --offline -q .

The task

Card numbers written with dashes (`5500-0000-0000-0004`) are rejected by `mask` in `src/lib.rs`, although its doc comment says spaces and dashes are both ignored (`dashes` fails). Fix it and run `cargo test --offline -q`.

Part of efederici/smol-software-harbor.