1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
---|
2 | <html> |
---|
3 | <head> |
---|
4 | <title>Boost.Regex: History</title> |
---|
5 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
---|
6 | <link rel="stylesheet" type="text/css" href="../../../boost.css"> |
---|
7 | </head> |
---|
8 | <body> |
---|
9 | <P> |
---|
10 | <TABLE id="Table1" cellSpacing="1" cellPadding="1" width="100%" border="0"> |
---|
11 | <TR> |
---|
12 | <td valign="top" width="300"> |
---|
13 | <h3><a href="../../../index.htm"><img height="86" width="277" alt="C++ Boost" src="../../../boost.png" border="0"></a></h3> |
---|
14 | </td> |
---|
15 | <TD width="353"> |
---|
16 | <H1 align="center">Boost.Regex</H1> |
---|
17 | <H2 align="center">History</H2> |
---|
18 | </TD> |
---|
19 | <td width="50"> |
---|
20 | <h3><a href="index.html"><img height="45" width="43" alt="Boost.Regex Index" src="uarrow.gif" border="0"></a></h3> |
---|
21 | </td> |
---|
22 | </TR> |
---|
23 | </TABLE> |
---|
24 | </P> |
---|
25 | <HR> |
---|
26 | <p></p> |
---|
27 | <P>Boost 1.33.1</P> |
---|
28 | <UL> |
---|
29 | <LI> |
---|
30 | Fixed broken makefiles. |
---|
31 | <LI> |
---|
32 | Fixed configuration setup to allow building with VC7.1 - STLport-4.6.2 when |
---|
33 | using /Zc:wchar_t. |
---|
34 | <LI> |
---|
35 | Moved declarations class-inline in static_mutex.hpp so that SGI Irix compiler |
---|
36 | can cope. |
---|
37 | <LI> |
---|
38 | Added needed standard library #includes to fileiter.hpp, regex_workaround.hpp |
---|
39 | and cpp_regex_traits.hpp. |
---|
40 | <LI> |
---|
41 | Fixed a bug where non-greedy repeats could in certain strange curcumstances |
---|
42 | repeat more times than their maximum value. |
---|
43 | <LI> |
---|
44 | Fixed the value returned by basic_regex<>::empty() from a default |
---|
45 | constructed object. |
---|
46 | <LI> |
---|
47 | Changed the deffinition of regex_error to make it backwards compatible with |
---|
48 | Boost-1.32.0. |
---|
49 | <LI> |
---|
50 | Disabled external templates for Intel C++ 8.0 and earlier - otherwise |
---|
51 | unresolved references can occur. |
---|
52 | <LI> |
---|
53 | Rewritten extern template code for gcc so that only specific member functions |
---|
54 | are exported: otherwise strange unresolved references can occur when linking |
---|
55 | and mixing debug and non-debug code. |
---|
56 | <LI> |
---|
57 | Initialise all the data members of the unicode_iterators: this keeps gcc from |
---|
58 | issuing needless warnings. |
---|
59 | <LI> |
---|
60 | Ported the ICU integration code to VC6 and VC7. |
---|
61 | <LI> |
---|
62 | Ensured code is STLport debug mode clean. |
---|
63 | <LI> |
---|
64 | Fixed lookbehind assertions so that fixed length repeats are permitted, and so |
---|
65 | that regex iteration allows lookbehind to look back before the current search |
---|
66 | range (into the last match). |
---|
67 | <LI> |
---|
68 | Fixed strange bug with non-greedy repeats inside forward lookahead assertions. |
---|
69 | <LI> |
---|
70 | Enabled negated character classes inside character sets. |
---|
71 | <LI> |
---|
72 | Fixed regression so that [a-z-] is a valid expression again. |
---|
73 | <LI> |
---|
74 | Fixed bug that allowed some invalid expressions to be accepted.</LI></UL> |
---|
75 | <P>Boost 1.33.0.</P> |
---|
76 | <UL> |
---|
77 | <LI> |
---|
78 | Completely rewritten expression parsing code, and traits class support; now |
---|
79 | conforms to the standardization proposal. |
---|
80 | <LI> |
---|
81 | <STRONG>Breaking Change:</STRONG> The <A href="syntax_option_type.html">syntax |
---|
82 | options</A> that can be passed to <A href="basic_regex.html">basic_regex |
---|
83 | constructors</A> have been rationalized. The default option (perl) now |
---|
84 | has a value of zero, and it is now clearly documented which options apply to |
---|
85 | which <A href="syntax.html">regular expression syntax styles (perl, |
---|
86 | POSIX-extended, POSIX-basic etc)</A>. Some of the more esoteric |
---|
87 | options have now been removed, so there is the possibility that existing code |
---|
88 | may fail to compile: however equivalent functionality should still be |
---|
89 | available. |
---|
90 | <LI> |
---|
91 | <STRONG>Breaking Change: </STRONG> |
---|
92 | POSIX-extended and POSIX-basic regular expressions now enforce the letter of |
---|
93 | the POSIX standard much more closely than before. |
---|
94 | <LI> |
---|
95 | Added <A href="syntax_perl.html#Perl">support for (?imsx-imsx) constructs</A>. |
---|
96 | <LI> |
---|
97 | Added <A href="syntax_perl.html#Perl">support for lookbehind expressions |
---|
98 | (?<=positive-lookbehind) and (?<!negative-lookbehind)</A>. |
---|
99 | <LI> |
---|
100 | Added <A href="syntax_perl.html#Perl">support for conditional expressions |
---|
101 | (?(assertion)true-expresion|false-expression)</A>. |
---|
102 | <LI> |
---|
103 | Added <A href="mfc_strings.html">MFC/ATL string wrappers</A>. |
---|
104 | <LI> |
---|
105 | Added <A href="unicode.html">Unicode support; based on ICU</A>. |
---|
106 | <LI> |
---|
107 | Changed newline support to recognise \f as a line separator (all character |
---|
108 | types), and \x85 as a line separator for wide characters / Unicode only. |
---|
109 | <LI> |
---|
110 | Added a new format flag <A href="match_flag_type.html"><code>format_literal</code></A> |
---|
111 | that treats the replace string as a literal, rather than a Perl or Sed style <A href="format_syntax.html"> |
---|
112 | format string</A>. |
---|
113 | <LI> |
---|
114 | Errors are now reported by throwing exceptions of type <A href="bad_expression.html"> |
---|
115 | <code>regex_error</code></A>. The types used previously - <code>bad_expression</code> |
---|
116 | and <code>bad_pattern</code> - are now just typedefs for <code>regex_error</code>. |
---|
117 | Type <code>regex_error</code> has a couple of new members: <code>code()</code> to |
---|
118 | report an error code rather than a string, and <code>position()</code> to |
---|
119 | report where in the expression the error occured.</LI></UL> |
---|
120 | <P>Boost 1.32.1.</P> |
---|
121 | <UL> |
---|
122 | <LI> |
---|
123 | Fixed bug in partial matches of bounded repeats of '.'.</LI></UL> |
---|
124 | <P>Boost 1.31.0.</P> |
---|
125 | <UL> |
---|
126 | <LI> |
---|
127 | Completely rewritten pattern matching code - it is now up to 10 times faster |
---|
128 | than before. |
---|
129 | <LI> |
---|
130 | Reorganized documentation. |
---|
131 | <LI> |
---|
132 | Deprecated all interfaces that are not part of the <A href="http://anubis.dkuug.dk/jtc1/sc22/wg21/docs/papers/2003/n1429.htm"> |
---|
133 | regular expression standardization proposal</A>. |
---|
134 | <LI> |
---|
135 | Added <A href="regex_iterator.html">regex_iterator</A> and <A href="regex_token_iterator.html"> |
---|
136 | regex_token_iterator</A> |
---|
137 | . |
---|
138 | <LI> |
---|
139 | Added support for Perl style independent sub-expressions. |
---|
140 | <LI> |
---|
141 | Added non-member operators to the<A href="sub_match.html"> sub_match class</A>, |
---|
142 | so that you can compare sub_match's with strings, or add them to a string to |
---|
143 | produce a new string. |
---|
144 | <LI> |
---|
145 | Added experimental support for <A href="captures.html">extended capture |
---|
146 | information</A>. |
---|
147 | <LI> |
---|
148 | Changed the match flags so that they are a distinct type (not an integer), if |
---|
149 | you try to pass the match flags as an integer rather than<A href="match_flag_type.html"> |
---|
150 | match_flag_type</A> to the regex algorithms then you will now get a compiler |
---|
151 | error.</LI></UL> |
---|
152 | <P> |
---|
153 | <HR> |
---|
154 | <P></P> |
---|
155 | <p>Revised |
---|
156 | <!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d %B, %Y" startspan --> |
---|
157 | 28 June 2004 |
---|
158 | <!--webbot bot="Timestamp" endspan i-checksum="39359" --></p> |
---|
159 | <p><i>© Copyright John Maddock 1998- |
---|
160 | <!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%Y" startspan --> 2004<!--webbot bot="Timestamp" endspan i-checksum="39359" --></i></p> |
---|
161 | <P><I>Use, modification and distribution are subject to the Boost Software License, |
---|
162 | Version 1.0. (See accompanying file <A href="../../../LICENSE_1_0.txt">LICENSE_1_0.txt</A> |
---|
163 | or copy at <A href="http://www.boost.org/LICENSE_1_0.txt">http://www.boost.org/LICENSE_1_0.txt</A>)</I></P> |
---|
164 | </body> |
---|
165 | </html> |
---|