mirror of
https://github.com/boostorg/regex.git
synced 2025-06-30 06:10:58 +02:00
Updated regex examples and Jamfiles so that they are run as tests.
[SVN r12149]
This commit is contained in:
@ -29,7 +29,10 @@ int main(int argc, char* argv[])
|
||||
{
|
||||
try{
|
||||
std::string input;
|
||||
std::cin >> input;
|
||||
if(argc > 1)
|
||||
input = argv[1];
|
||||
else
|
||||
std::cin >> input;
|
||||
if(is_possible_card_number(input))
|
||||
{
|
||||
std::cout << "Matched OK..." << std::endl;
|
||||
|
Reference in New Issue
Block a user