
11 Apr
2005
11 Apr
'05
11:13 p.m.
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