2001-08-12 11:55:51 +00:00
|
|
|
subproject libs/regex/example ;
|
|
|
|
|
2002-09-17 10:58:25 +00:00
|
|
|
# bring in the rules for testing
|
|
|
|
SEARCH on testing.jam = $(BOOST_BUILD_PATH) ;
|
|
|
|
include testing.jam ;
|
2001-08-16 11:43:22 +00:00
|
|
|
|
2002-09-17 10:58:25 +00:00
|
|
|
run timer/regex_timer.cpp
|
2002-02-27 12:37:28 +00:00
|
|
|
<lib>../build/boost_regex$(SUFLIB)
|
2002-09-17 10:58:25 +00:00
|
|
|
:
|
|
|
|
timer/input_script.txt
|
2001-08-12 11:55:51 +00:00
|
|
|
:
|
2002-09-17 10:58:25 +00:00
|
|
|
:
|
2002-05-21 16:24:07 +00:00
|
|
|
<sysinclude>../../../
|
2001-09-18 11:13:39 +00:00
|
|
|
<define>BOOST_REGEX_NO_LIB=1
|
2001-12-09 12:50:46 +00:00
|
|
|
<define>BOOST_REGEX_STATIC_LINK=1
|
2001-12-26 11:21:24 +00:00
|
|
|
:
|
2002-09-17 10:58:25 +00:00
|
|
|
regex_timer
|
2001-08-12 11:55:51 +00:00
|
|
|
;
|
|
|
|
|
2002-09-17 10:58:25 +00:00
|
|
|
run jgrep/jgrep.cpp jgrep/main.cpp
|
2002-02-27 12:37:28 +00:00
|
|
|
<lib>../build/boost_regex$(SUFLIB)
|
2002-09-17 10:58:25 +00:00
|
|
|
:
|
|
|
|
-n boost/ ../../../boost/regex.hpp
|
|
|
|
:
|
2001-08-13 11:34:37 +00:00
|
|
|
:
|
2002-05-21 16:24:07 +00:00
|
|
|
<sysinclude>../../../
|
2001-09-18 11:13:39 +00:00
|
|
|
<define>BOOST_REGEX_NO_LIB=1
|
2001-12-09 12:50:46 +00:00
|
|
|
<define>BOOST_REGEX_STATIC_LINK=1
|
2001-12-26 11:21:24 +00:00
|
|
|
:
|
2002-09-17 10:58:25 +00:00
|
|
|
jgrep
|
2001-08-13 11:34:37 +00:00
|
|
|
;
|
|
|
|
|
2002-09-17 10:58:25 +00:00
|
|
|
run snippets/credit_card_example.cpp
|
2002-02-27 12:37:28 +00:00
|
|
|
<lib>../build/boost_regex$(SUFLIB)
|
2001-08-13 11:34:37 +00:00
|
|
|
:
|
2002-09-17 10:58:25 +00:00
|
|
|
:
|
|
|
|
:
|
2002-05-21 16:24:07 +00:00
|
|
|
<sysinclude>../../../
|
2001-09-18 11:13:39 +00:00
|
|
|
<define>BOOST_REGEX_NO_LIB=1
|
2001-12-09 12:50:46 +00:00
|
|
|
<define>BOOST_REGEX_STATIC_LINK=1
|
2002-09-17 10:58:25 +00:00
|
|
|
:
|
|
|
|
credit_card_example
|
2001-08-13 11:34:37 +00:00
|
|
|
;
|
|
|
|
|
|
|
|
|
2002-09-17 10:58:25 +00:00
|
|
|
run snippets/partial_regex_grep.cpp
|
2002-02-27 12:37:28 +00:00
|
|
|
<lib>../build/boost_regex$(SUFLIB)
|
2001-08-13 11:34:37 +00:00
|
|
|
:
|
2002-09-17 10:58:25 +00:00
|
|
|
../index.htm
|
|
|
|
:
|
|
|
|
:
|
2002-05-21 16:24:07 +00:00
|
|
|
<sysinclude>../../../
|
2001-09-18 11:13:39 +00:00
|
|
|
<define>BOOST_REGEX_NO_LIB=1
|
2001-12-09 12:50:46 +00:00
|
|
|
<define>BOOST_REGEX_STATIC_LINK=1
|
2001-12-16 11:33:27 +00:00
|
|
|
:
|
2002-09-17 10:58:25 +00:00
|
|
|
partial_regex_grep
|
2001-08-13 11:34:37 +00:00
|
|
|
;
|
|
|
|
|
2002-09-17 10:58:25 +00:00
|
|
|
run snippets/partial_regex_match.cpp
|
2002-02-27 12:37:28 +00:00
|
|
|
<lib>../build/boost_regex$(SUFLIB)
|
2001-08-13 11:34:37 +00:00
|
|
|
:
|
2002-09-17 10:58:25 +00:00
|
|
|
1234-5678-8765-4
|
|
|
|
:
|
|
|
|
:
|
2002-05-21 16:24:07 +00:00
|
|
|
<sysinclude>../../../
|
2001-09-18 11:13:39 +00:00
|
|
|
<define>BOOST_REGEX_NO_LIB=1
|
2001-12-09 12:50:46 +00:00
|
|
|
<define>BOOST_REGEX_STATIC_LINK=1
|
2001-12-26 11:21:24 +00:00
|
|
|
:
|
2002-09-17 10:58:25 +00:00
|
|
|
partial_regex_match
|
2001-08-13 11:34:37 +00:00
|
|
|
;
|
|
|
|
|
2002-09-17 10:58:25 +00:00
|
|
|
run snippets/regex_grep_example_1.cpp
|
2002-02-27 12:37:28 +00:00
|
|
|
<lib>../build/boost_regex$(SUFLIB)
|
2002-09-17 10:58:25 +00:00
|
|
|
:
|
|
|
|
../../../boost/rational.hpp
|
2001-08-13 11:34:37 +00:00
|
|
|
:
|
2002-09-17 10:58:25 +00:00
|
|
|
:
|
2002-05-21 16:24:07 +00:00
|
|
|
<sysinclude>../../../
|
2001-09-18 11:13:39 +00:00
|
|
|
<define>BOOST_REGEX_NO_LIB=1
|
2001-12-09 12:50:46 +00:00
|
|
|
<define>BOOST_REGEX_STATIC_LINK=1
|
2001-08-13 11:34:37 +00:00
|
|
|
:
|
2002-09-17 10:58:25 +00:00
|
|
|
regex_grep_example_1
|
2001-08-13 11:34:37 +00:00
|
|
|
;
|
|
|
|
|
2002-09-17 10:58:25 +00:00
|
|
|
run snippets/regex_grep_example_2.cpp
|
2002-02-27 12:37:28 +00:00
|
|
|
<lib>../build/boost_regex$(SUFLIB)
|
2002-09-17 10:58:25 +00:00
|
|
|
:
|
|
|
|
../../../boost/rational.hpp
|
2001-08-13 11:34:37 +00:00
|
|
|
:
|
2002-09-17 10:58:25 +00:00
|
|
|
:
|
2002-05-21 16:24:07 +00:00
|
|
|
<sysinclude>../../../
|
2001-09-18 11:13:39 +00:00
|
|
|
<define>BOOST_REGEX_NO_LIB=1
|
2001-12-09 12:50:46 +00:00
|
|
|
<define>BOOST_REGEX_STATIC_LINK=1
|
2001-08-13 11:34:37 +00:00
|
|
|
:
|
2002-09-17 10:58:25 +00:00
|
|
|
regex_grep_example_2
|
2001-08-13 11:34:37 +00:00
|
|
|
;
|
|
|
|
|
2002-09-17 10:58:25 +00:00
|
|
|
run snippets/regex_grep_example_3.cpp
|
2002-02-27 12:37:28 +00:00
|
|
|
<lib>../build/boost_regex$(SUFLIB)
|
2002-09-17 10:58:25 +00:00
|
|
|
:
|
|
|
|
../../../boost/rational.hpp
|
2001-08-13 11:34:37 +00:00
|
|
|
:
|
2002-09-17 10:58:25 +00:00
|
|
|
:
|
2002-05-21 16:24:07 +00:00
|
|
|
<sysinclude>../../../
|
2001-09-18 11:13:39 +00:00
|
|
|
<define>BOOST_REGEX_NO_LIB=1
|
2001-12-09 12:50:46 +00:00
|
|
|
<define>BOOST_REGEX_STATIC_LINK=1
|
2001-08-13 11:34:37 +00:00
|
|
|
:
|
2002-09-17 10:58:25 +00:00
|
|
|
regex_grep_example_3
|
2001-08-13 11:34:37 +00:00
|
|
|
;
|
|
|
|
|
2002-09-17 10:58:25 +00:00
|
|
|
run snippets/regex_grep_example_4.cpp
|
2002-02-27 12:37:28 +00:00
|
|
|
<lib>../build/boost_regex$(SUFLIB)
|
2002-09-17 10:58:25 +00:00
|
|
|
:
|
|
|
|
../../../boost/rational.hpp
|
2001-08-13 11:34:37 +00:00
|
|
|
:
|
2002-09-17 10:58:25 +00:00
|
|
|
:
|
2002-05-21 16:24:07 +00:00
|
|
|
<sysinclude>../../../
|
2001-09-18 11:13:39 +00:00
|
|
|
<define>BOOST_REGEX_NO_LIB=1
|
2001-12-09 12:50:46 +00:00
|
|
|
<define>BOOST_REGEX_STATIC_LINK=1
|
2001-08-13 11:34:37 +00:00
|
|
|
:
|
2002-09-17 10:58:25 +00:00
|
|
|
regex_grep_example_4
|
2001-08-13 11:34:37 +00:00
|
|
|
;
|
|
|
|
|
2002-09-17 10:58:25 +00:00
|
|
|
run snippets/regex_match_example.cpp
|
2002-02-27 12:37:28 +00:00
|
|
|
<lib>../build/boost_regex$(SUFLIB)
|
2002-09-17 10:58:25 +00:00
|
|
|
:
|
|
|
|
-auto
|
2001-08-13 11:34:37 +00:00
|
|
|
:
|
2002-09-17 10:58:25 +00:00
|
|
|
:
|
2002-05-21 16:24:07 +00:00
|
|
|
<sysinclude>../../../
|
2001-09-18 11:13:39 +00:00
|
|
|
<define>BOOST_REGEX_NO_LIB=1
|
2001-12-09 12:50:46 +00:00
|
|
|
<define>BOOST_REGEX_STATIC_LINK=1
|
2001-08-13 11:34:37 +00:00
|
|
|
:
|
2002-09-17 10:58:25 +00:00
|
|
|
regex_match_example
|
2001-08-13 11:34:37 +00:00
|
|
|
;
|
|
|
|
|
2002-09-17 10:58:25 +00:00
|
|
|
run snippets/regex_merge_example.cpp
|
2002-02-27 12:37:28 +00:00
|
|
|
<lib>../build/boost_regex$(SUFLIB)
|
2002-09-17 10:58:25 +00:00
|
|
|
:
|
|
|
|
../../../boost/rational.hpp
|
2001-08-13 11:34:37 +00:00
|
|
|
:
|
2002-09-17 10:58:25 +00:00
|
|
|
:
|
2002-05-21 16:24:07 +00:00
|
|
|
<sysinclude>../../../
|
2001-09-18 11:13:39 +00:00
|
|
|
<define>BOOST_REGEX_NO_LIB=1
|
2001-12-09 12:50:46 +00:00
|
|
|
<define>BOOST_REGEX_STATIC_LINK=1
|
2001-08-13 11:34:37 +00:00
|
|
|
:
|
2002-09-17 10:58:25 +00:00
|
|
|
regex_merge_example
|
2001-08-13 11:34:37 +00:00
|
|
|
;
|
|
|
|
|
2002-09-17 10:58:25 +00:00
|
|
|
run snippets/regex_search_example.cpp
|
2002-02-27 12:37:28 +00:00
|
|
|
<lib>../build/boost_regex$(SUFLIB)
|
2002-09-17 10:58:25 +00:00
|
|
|
:
|
|
|
|
../../../boost/rational.hpp
|
2001-08-13 11:34:37 +00:00
|
|
|
:
|
2002-09-17 10:58:25 +00:00
|
|
|
:
|
2002-05-21 16:24:07 +00:00
|
|
|
<sysinclude>../../../
|
2001-09-18 11:13:39 +00:00
|
|
|
<define>BOOST_REGEX_NO_LIB=1
|
2001-12-09 12:50:46 +00:00
|
|
|
<define>BOOST_REGEX_STATIC_LINK=1
|
2001-08-13 11:34:37 +00:00
|
|
|
:
|
2002-09-17 10:58:25 +00:00
|
|
|
regex_search_example
|
2001-08-13 11:34:37 +00:00
|
|
|
;
|
|
|
|
|
2002-09-17 10:58:25 +00:00
|
|
|
run snippets/regex_split_example_1.cpp
|
2002-02-27 12:37:28 +00:00
|
|
|
<lib>../build/boost_regex$(SUFLIB)
|
2002-09-17 10:58:25 +00:00
|
|
|
:
|
|
|
|
-auto
|
2001-08-13 11:34:37 +00:00
|
|
|
:
|
2002-09-17 10:58:25 +00:00
|
|
|
:
|
2002-05-21 16:24:07 +00:00
|
|
|
<sysinclude>../../../
|
2001-09-18 11:13:39 +00:00
|
|
|
<define>BOOST_REGEX_NO_LIB=1
|
2001-12-09 12:50:46 +00:00
|
|
|
<define>BOOST_REGEX_STATIC_LINK=1
|
2001-08-13 11:34:37 +00:00
|
|
|
:
|
2002-09-17 10:58:25 +00:00
|
|
|
regex_split_example_1
|
2001-08-13 11:34:37 +00:00
|
|
|
;
|
|
|
|
|
2002-09-17 10:58:25 +00:00
|
|
|
run snippets/regex_split_example_2.cpp
|
2002-02-27 12:37:28 +00:00
|
|
|
<lib>../build/boost_regex$(SUFLIB)
|
2002-09-17 10:58:25 +00:00
|
|
|
:
|
|
|
|
../index.htm
|
2001-08-13 11:34:37 +00:00
|
|
|
:
|
2002-09-17 10:58:25 +00:00
|
|
|
:
|
2002-05-21 16:24:07 +00:00
|
|
|
<sysinclude>../../../
|
2001-09-18 11:13:39 +00:00
|
|
|
<define>BOOST_REGEX_NO_LIB=1
|
2001-12-09 12:50:46 +00:00
|
|
|
<define>BOOST_REGEX_STATIC_LINK=1
|
2001-08-13 11:34:37 +00:00
|
|
|
:
|
2002-09-17 10:58:25 +00:00
|
|
|
regex_split_example_2
|
2001-08-13 11:34:37 +00:00
|
|
|
;
|
2001-08-12 11:55:51 +00:00
|
|
|
|
|
|
|
|
2001-08-16 11:43:22 +00:00
|
|
|
|
2001-08-18 10:22:10 +00:00
|
|
|
|
2001-11-10 12:12:38 +00:00
|
|
|
|
2001-12-09 12:50:46 +00:00
|
|
|
|
2001-12-16 11:33:27 +00:00
|
|
|
|
2001-12-26 11:21:24 +00:00
|
|
|
|
2002-02-27 12:37:28 +00:00
|
|
|
|
2002-04-24 10:50:23 +00:00
|
|
|
|
2002-09-17 10:58:25 +00:00
|
|
|
|