forked from boostorg/regex
Moved some key template instances into the lib and out of user code.
Updated makefiles: renamed lib files with new more systematic naming convention. Added bcb6 support. Rewritten automatic lib selection. Updated copyright declarations. [SVN r13557]
This commit is contained in:
@ -69,7 +69,7 @@ unit-test regex_grep_example_1 : snippets/regex_grep_example_1.cpp
|
||||
:
|
||||
debug
|
||||
:
|
||||
../../../boost/smart_ptr.hpp
|
||||
../../../boost/rational.hpp
|
||||
;
|
||||
|
||||
unit-test regex_grep_example_2 : snippets/regex_grep_example_2.cpp
|
||||
@ -81,7 +81,7 @@ unit-test regex_grep_example_2 : snippets/regex_grep_example_2.cpp
|
||||
:
|
||||
debug
|
||||
:
|
||||
../../../boost/smart_ptr.hpp
|
||||
../../../boost/rational.hpp
|
||||
;
|
||||
|
||||
unit-test regex_grep_example_3 : snippets/regex_grep_example_3.cpp
|
||||
@ -93,7 +93,7 @@ unit-test regex_grep_example_3 : snippets/regex_grep_example_3.cpp
|
||||
:
|
||||
debug
|
||||
:
|
||||
../../../boost/smart_ptr.hpp
|
||||
../../../boost/rational.hpp
|
||||
;
|
||||
|
||||
unit-test regex_grep_example_4 : snippets/regex_grep_example_4.cpp
|
||||
@ -105,7 +105,7 @@ unit-test regex_grep_example_4 : snippets/regex_grep_example_4.cpp
|
||||
:
|
||||
debug
|
||||
:
|
||||
../../../boost/smart_ptr.hpp
|
||||
../../../boost/rational.hpp
|
||||
;
|
||||
|
||||
unit-test regex_match_example : snippets/regex_match_example.cpp
|
||||
@ -129,7 +129,7 @@ unit-test regex_merge_example : snippets/regex_merge_example.cpp
|
||||
:
|
||||
debug
|
||||
:
|
||||
../../../boost/smart_ptr.hpp
|
||||
../../../boost/rational.hpp
|
||||
;
|
||||
|
||||
unit-test regex_search_example : snippets/regex_search_example.cpp
|
||||
@ -141,7 +141,7 @@ unit-test regex_search_example : snippets/regex_search_example.cpp
|
||||
:
|
||||
debug
|
||||
:
|
||||
../../../boost/smart_ptr.hpp
|
||||
../../../boost/rational.hpp
|
||||
;
|
||||
|
||||
unit-test regex_split_example_1 : snippets/regex_split_example_1.cpp
|
||||
@ -176,3 +176,4 @@ unit-test regex_split_example_2 : snippets/regex_split_example_2.cpp
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
*
|
||||
* Copyright (c) 1998-2000
|
||||
* Copyright (c) 1998-2002
|
||||
* Dr John Maddock
|
||||
*
|
||||
* Permission to use, copy, modify, distribute and sell this software
|
||||
@ -29,7 +29,9 @@ using std::cin;
|
||||
using std::cerr;
|
||||
using std::endl;
|
||||
#endif
|
||||
#pragma hrdstop
|
||||
#ifdef __BORLANDC__
|
||||
# pragma hrdstop
|
||||
#endif
|
||||
|
||||
#include <boost/regex/detail/fileiter.hpp>
|
||||
|
||||
@ -124,3 +126,5 @@ void process_grep(const char* file)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
*
|
||||
* Copyright (c) 1998-2000
|
||||
* Copyright (c) 1998-2002
|
||||
* Dr John Maddock
|
||||
*
|
||||
* Permission to use, copy, modify, distribute and sell this software
|
||||
@ -30,7 +30,9 @@ using std::cin;
|
||||
using std::cerr;
|
||||
using std::endl;
|
||||
#endif
|
||||
#pragma hrdstop
|
||||
#ifdef __BORLANDC__
|
||||
# pragma hrdstop
|
||||
#endif
|
||||
|
||||
#include <boost/regex/detail/fileiter.hpp>
|
||||
#include "jgrep.h"
|
||||
@ -282,3 +284,5 @@ int main(int argc, char * argv[])
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
*
|
||||
* Copyright (c) 1998-2000
|
||||
* Copyright (c) 1998-2002
|
||||
* Dr John Maddock
|
||||
*
|
||||
* Permission to use, copy, modify, distribute and sell this software
|
||||
@ -67,3 +67,4 @@ int main()
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -1,3 +1,24 @@
|
||||
/*
|
||||
*
|
||||
* Copyright (c) 1998-2002
|
||||
* Dr John Maddock
|
||||
*
|
||||
* Permission to use, copy, modify, distribute and sell this software
|
||||
* and its documentation for any purpose is hereby granted without fee,
|
||||
* provided that the above copyright notice appear in all copies and
|
||||
* that both that copyright notice and this permission notice appear
|
||||
* in supporting documentation. Dr John Maddock makes no representations
|
||||
* about the suitability of this software for any purpose.
|
||||
* It is provided "as is" without express or implied warranty.
|
||||
*
|
||||
*/
|
||||
|
||||
/*
|
||||
* LOCATION: see http://www.boost.org for most recent version.
|
||||
* FILE partial_regex_grep.cpp
|
||||
* VERSION see <boost/version.hpp>
|
||||
* DESCRIPTION: Search example using partial matches.
|
||||
*/
|
||||
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
@ -82,3 +103,4 @@ int main(int argc, char* argv[])
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -1,3 +1,25 @@
|
||||
/*
|
||||
*
|
||||
* Copyright (c) 1998-2002
|
||||
* Dr John Maddock
|
||||
*
|
||||
* Permission to use, copy, modify, distribute and sell this software
|
||||
* and its documentation for any purpose is hereby granted without fee,
|
||||
* provided that the above copyright notice appear in all copies and
|
||||
* that both that copyright notice and this permission notice appear
|
||||
* in supporting documentation. Dr John Maddock makes no representations
|
||||
* about the suitability of this software for any purpose.
|
||||
* It is provided "as is" without express or implied warranty.
|
||||
*
|
||||
*/
|
||||
|
||||
/*
|
||||
* LOCATION: see http://www.boost.org for most recent version.
|
||||
* FILE partial_regex_match.cpp
|
||||
* VERSION see <boost/version.hpp>
|
||||
* DESCRIPTION: regex_match example using partial matches.
|
||||
*/
|
||||
|
||||
#include <string>
|
||||
#include <iostream>
|
||||
#include <boost/regex.hpp>
|
||||
@ -47,3 +69,4 @@ int main(int argc, char* argv[])
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
*
|
||||
* Copyright (c) 1998-2000
|
||||
* Copyright (c) 1998-2002
|
||||
* Dr John Maddock
|
||||
*
|
||||
* Permission to use, copy, modify, distribute and sell this software
|
||||
@ -127,3 +127,4 @@ int main(int argc, const char** argv)
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
*
|
||||
* Copyright (c) 1998-2000
|
||||
* Copyright (c) 1998-2002
|
||||
* Dr John Maddock
|
||||
*
|
||||
* Permission to use, copy, modify, distribute and sell this software
|
||||
@ -120,3 +120,4 @@ int main(int argc, const char** argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
*
|
||||
* Copyright (c) 1998-2000
|
||||
* Copyright (c) 1998-2002
|
||||
* Dr John Maddock
|
||||
*
|
||||
* Permission to use, copy, modify, distribute and sell this software
|
||||
@ -139,3 +139,4 @@ int main(int argc, const char** argv)
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
*
|
||||
* Copyright (c) 1998-2000
|
||||
* Copyright (c) 1998-2002
|
||||
* Dr John Maddock
|
||||
*
|
||||
* Permission to use, copy, modify, distribute and sell this software
|
||||
@ -152,3 +152,4 @@ int main()
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
*
|
||||
* Copyright (c) 1998-2000
|
||||
* Copyright (c) 1998-2002
|
||||
* Dr John Maddock
|
||||
*
|
||||
* Permission to use, copy, modify, distribute and sell this software
|
||||
@ -103,3 +103,4 @@ int main(int argc)
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
*
|
||||
* Copyright (c) 1998-2000
|
||||
* Copyright (c) 1998-2002
|
||||
* Dr John Maddock
|
||||
*
|
||||
* Permission to use, copy, modify, distribute and sell this software
|
||||
@ -134,3 +134,4 @@ const char* footer_text = "</PRE>\n</BODY>\n\n";
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
*
|
||||
* Copyright (c) 1998-2000
|
||||
* Copyright (c) 1998-2002
|
||||
* Dr John Maddock
|
||||
*
|
||||
* Permission to use, copy, modify, distribute and sell this software
|
||||
@ -127,3 +127,4 @@ int main(int argc, const char** argv)
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
*
|
||||
* Copyright (c) 1998-2000
|
||||
* Copyright (c) 1998-2002
|
||||
* Dr John Maddock
|
||||
*
|
||||
* Permission to use, copy, modify, distribute and sell this software
|
||||
@ -76,3 +76,4 @@ int main(int argc)
|
||||
}while(argc == 1);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
*
|
||||
* Copyright (c) 1998-2000
|
||||
* Copyright (c) 1998-2002
|
||||
* Dr John Maddock
|
||||
*
|
||||
* Permission to use, copy, modify, distribute and sell this software
|
||||
@ -84,3 +84,4 @@ int main(int argc, char** argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
*
|
||||
* Copyright (c) 1998-2000
|
||||
* Copyright (c) 1998-2002
|
||||
* Dr John Maddock
|
||||
*
|
||||
* Permission to use, copy, modify, distribute and sell this software
|
||||
@ -359,3 +359,4 @@ int main(int argc, char**argv)
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user