File: examples.html

package info (click to toggle)
boost 1.32.0-6
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 93,952 kB
  • ctags: 128,458
  • sloc: cpp: 492,477; xml: 52,125; python: 13,519; ansic: 13,013; sh: 1,773; yacc: 853; makefile: 526; perl: 418; lex: 110; csh: 6
file content (95 lines) | stat: -rw-r--r-- 5,812 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
   <head>
      <title>Boost.Regex: Examples</title>
      <meta name="generator" content="HTML Tidy, see www.w3.org">
      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
      <link rel="stylesheet" type="text/css" href="../../../boost.css">
   </head>
   <body>
      <p></p>
      <table id="Table1" cellspacing="1" cellpadding="1" width="100%" border="0">
         <tr>
            <td valign="top" width="300">
               <h3><a href="../../../index.htm"><IMG height="86" alt="C++ Boost" src="../../../boost.png" width="277" border="0"></a></h3>
            </td>
            <td width="353">
               <h1 align="center">Boost.Regex</h1>
               <h2 align="center">Examples</h2>
            </td>
            <td width="50">
               <h3><a href="index.html"><IMG height="45" alt="Boost.Regex Index" src="uarrow.gif" width="43" border="0"></a></h3>
            </td>
         </tr>
      </table>
      <BR>
      <BR>
      <HR>
      <P>There are three demo applications that ship with this library, they all come 
         with makefiles for Borland, Microsoft and gcc compilers, otherwise you will 
         have to create your own makefiles.</P>
      <H5>regress.exe:</H5>
      <P>A regression test application that gives the matching/searching algorithms a 
         full workout. The presence of this program is your guarantee that the library 
         will behave as claimed - at least as far as those items tested are concerned - 
         if anyone spots anything that isn't being tested I'd be glad to hear about it.</P>
      <P>Files: <A href="../test/regress/parse.cpp">parse.cpp</A>, <A href="../test/regress/regress.cpp">
            regress.cpp</A>, <A href="../test/regress/tests.cpp">tests.cpp</A>.</P>
      <H5>jgrep.exe</H5>
      <P>A simple grep implementation, run with no command line options to find out its 
         usage. Look at <A href="../src/fileiter.cpp">fileiter.cpp</A>/fileiter.hpp and 
         the mapfile class to see an example of a "smart" bidirectional iterator that 
         can be used with boost.regex or any other STL algorithm.</P>
      <P>Files: <A href="../example/jgrep/jgrep.cpp">jgrep.cpp</A>, <A href="../example/jgrep/main.cpp">
            main.cpp</A>.</P>
      <H5>timer.exe</H5>
      <P>A simple interactive expression matching application, the results of all 
         matches are timed, allowing the programmer to optimize their regular 
         expressions where performance is critical.</P>
      <P>Files: <A href="../example/timer/regex_timer.cpp">regex_timer.cpp</A>.</P>
      <H5>Code snippets</H5>
      <P>The snippets examples contain the code examples used in the documentation:</P>
      <P><A href="../example/snippets/credit_card_example.cpp">credit_card_example.cpp</A>: 
         Credit card number formatting code.</P>
      <P><A href="../example/snippets/partial_regex_grep.cpp">partial_regex_grep.cpp</A>: 
         Search example using partial matches.</P>
      <P><A href="../example/snippets/partial_regex_match.cpp">partial_regex_match.cpp</A>: 
         regex_match example using partial matches.</P>
      <P><A href="../example/snippets/regex_grep_example_1.cpp">regex_grep_example_1.cpp</A>: 
         regex_grep example 1: searches a cpp file for class definitions.</P>
      <P><A href="../example/snippets/regex_grep_example_2.cpp">regex_grep_example_2.cpp</A>: 
         regex_grep example 2: searches a cpp file for class definitions, using a global 
         callback function.</P>
      <P><A href="../example/snippets/regex_grep_example_3.cpp">regex_grep_example_3.cpp</A>: 
         regex_grep example 2: searches a cpp file for class definitions, using a bound 
         member function callback.</P>
      <P><A href="../example/snippets/regex_grep_example_4.cpp">regex_grep_example_4.cpp</A>: 
         regex_grep example 2: searches a cpp file for class definitions, using a C++ 
         Builder closure as a callback.</P>
      <P><A href="../example/snippets/regex_match_example.cpp">regex_match_example.cpp</A>: 
         ftp based regex_match example.</P>
      <P><A href="../example/snippets/regex_merge_example.cpp">regex_merge_example.cpp</A>: 
         regex_merge example: converts a C++ file to syntax highlighted HTML.</P>
      <P><A href="../example/snippets/regex_replace_example.cpp">regex_replace_example.cpp</A>: 
         regex_replace example: converts a C++ file to syntax highlighted HTML</P>
      <P><A href="../example/snippets/regex_search_example.cpp">regex_search_example.cpp</A>: 
         regex_search example: searches a cpp file for class definitions.</P>
      <P><A href="../example/snippets/regex_split_example_1.cpp">regex_split_example_1.cpp</A>: 
         regex_split example: split a string into tokens.</P>
      <P><A href="../example/snippets/regex_split_example_2.cpp">regex_split_example_2.cpp</A>
         : regex_split example: spit out linked URL's.</P>
      <P></P>
      <HR>
      <p>Revised 
         <!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d %B, %Y" startspan --> 
         24 Oct 2003 
         <!--webbot bot="Timestamp" endspan i-checksum="39359" --></p>
      <p><i> Copyright John Maddock&nbsp;1998- 
            <!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%Y" startspan --> 
            2003<!--webbot bot="Timestamp" endspan i-checksum="39359" --></i></p>
      <P><I>Use, modification and distribution are subject to the Boost Software License, 
            Version 1.0. (See accompanying file <A href="../../../LICENSE_1_0.txt">LICENSE_1_0.txt</A>
            or copy at <A href="http://www.boost.org/LICENSE_1_0.txt">http://www.boost.org/LICENSE_1_0.txt</A>)</I></P>
   </body>
</html>