FIXED: Signed/unsigned conversions in regex_compile.hpp and regex_format.hpp

ADDED:    Forwarder functions to match_results.
FIXED:    More errors from Como in strict mode.


[SVN r8826]
This commit is contained in:
John Maddock
2001-01-31 11:39:04 +00:00
parent 1afe49fdbf
commit 31c5b449bb
21 changed files with 270 additions and 51 deletions

View File

@ -29,18 +29,20 @@ int main()
{
string s[4] = { "0000111122223333", "0000 1111 2222 3333",
"0000-1111-2222-3333", "000-1111-2222-3333", };
for(int i = 0; i < 4; ++i)
int i;
for(i = 0; i < 4; ++i)
{
cout << "validate_card_format(\"" << s[i] << "\") returned " << validate_card_format(s[i]) << endl;
}
for(int i = 0; i < 4; ++i)
for(i = 0; i < 4; ++i)
{
cout << "machine_readable_card_number(\"" << s[i] << "\") returned " << machine_readable_card_number(s[i]) << endl;
}
for(int i = 0; i < 4; ++i)
for(i = 0; i < 4; ++i)
{
cout << "human_readable_card_number(\"" << s[i] << "\") returned " << human_readable_card_number(s[i]) << endl;
}
return 0;
}