Searched refs:card_rx (Results 1 – 1 of 1) sorted by relevance
22 const boost::regex card_rx("\\A(\\d{3,4})[- ]?(\\d{4})[- ]?(\\d{4})[- ]?(\\d{4})\\z"); variable28 … return boost::regex_replace(s, card_rx, machine_format, boost::match_default | boost::format_sed); in machine_readable_card_number()33 return boost::regex_replace(s, card_rx, human_format, boost::match_default | boost::format_sed); in human_readable_card_number()