$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Darren Cook (darren_at_[hidden])
Date: 2005-04-11 18:13:52
> but I DO have some C++ code to check both ISBN and Credit cards,
> and most other protocols of this type.
>
> In fact I wonder if there is any interest in these as a Boost library?
Yes (perhaps you could list all the protocols).
I'd expect they'd be quicker than using regexes, self-documenting (E.g.
"boost::validate::credit_card(cc)" is more readable than
"^\d{4}-?\d{4}-?\d{4}-?\d{2,4}$"), and also more accurate (I believe
credit cards have meaning to the numbers that can also be validated).
Darren