* parser.cs: Allow creating a regular expression using {,n} as the
[mono.git] / mcs / class / System / System.Text.RegularExpressions / ChangeLog
1 2004-05-25  Jackson Harper  <jackson@ximian.com>
2
3         * parser.cs: Allow creating a regular expression using {,n} as the
4         specified. The min bounds is set to -1, I am not completely sure
5         if that is what it is supposed to be but MS does not set it to 0
6         based on testing. Patch by dave-gnome-bugs@earth.li. Fixes bug #56761.
7
8 2004-05-12  Dick Porter  <dick@ximian.com>
9
10         * regex.cs: 
11         * quicksearch.cs: 
12         * RegexRunnerFactory.cs: 
13         * RegexRunner.cs: More public API difference fixes.
14
15         * GroupCollection.cs: 
16         * MatchCollection.cs: 
17         * CaptureCollection.cs: Moved GroupCollection, MatchCollection and
18         CaptureCollection so that they no longer inherit from the
19         non-standard RegexCollectionBase class.  Fixes the API difference.
20
21 2004-04-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
22
23         * arch.cs:
24         * compiler.cs:
25         * interpreter.cs:
26         * parser.cs:
27         * syntax.cs:
28         Patch by Eric Durand Tremblay.
29         1) Capture inner group when named.
30         2) Resolved parse error caused by not capturing inner group
31         3) Resolved incorrect capture group
32         4) Now, not capturing anything when unnamed ( correct behavior)
33
34
35 2004-04-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
36
37         * arch.cs:
38         * compiler.cs:
39         * interpreter.cs:
40         * parser.cs:
41         * syntax.cs: converted to unix line endings.
42
43 2004-03-30  Lluis Sanchez Gual <lluis@ximian.com>
44
45         * collections.cs: In the indexer, return an empty group if the requested
46         group is not found.
47         * match.cs: Added default constructor for Group.
48         
49 2004-03-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
50
51         * parser.cs: fixed group numbering.
52
53 2004-03-22  Jackson Harper  <jackson@ximian.com>
54
55         * parser.cs: Use the group number as the name in mapping. Patch by
56         Gert Driesen.
57         * regex.cs: Fix off by one error. Patch by Gert Driesen.
58
59 2004-03-17  Francois Beauchemin <beauche@softhome.net>
60         * syntax.cs, interpreter.cs, quicksearch.cs, regex.cs, compiler.cs : 
61                 Revised support for RigthToLeft. 
62                 quicksearch has now an reverse option.          
63                 This fixes bug #54537 
64  
65         * regex.cs, compiler.cs :
66                 Some code to support CILCompiler.               
67         * regex.cs : 
68                 Added some undocumented of MS.
69  
70 2004-03-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
71
72         * parser.cs: allow a @"\0" escape sequence. Fixes bug #54797.
73
74 2004-02-01  Miguel de Icaza  <miguel@ximian.com>
75
76         * syntax.cs, interval.cs: Applied patch from Marco Cravairo
77         through Francois Beauchemin who reviewed on the mailing list.
78         This fixes bug #45976
79
80 2004-01-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
81
82         * parser.cs: an opening brace without a
83         quantifier do not cause a parse error. Fixes bug #52924.
84
85 2004-01-07  Lluis Sanchez Gual <lluis@ximian.com>
86
87         * regex.cs: In Split(), if the last match is at the end of the string, 
88         an empty string must be added to the array of results.
89
90 2003-12-15  Sanjay Gupta <gsanjay@novell.com>
91         * match.cs: Check for null value before Substring method call.  
92         Fixes bug #52034.
93
94 2003-11-21  Juraj Skripsky <js@hotfeet.ch>
95
96         * quicksearch.cs: Create and use hashtable only for "long" search 
97         strings. 
98
99         (Search): Use simple scan for a single-character search strings.
100         
101         (GetChar): Simplify case sensitivity handling.
102
103 2003-11-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
104
105         * interpreter.cs: when evaluating a degenerate match, restore the
106         RepeatContext if fail. Fixes bug #42529.
107
108 2003-11-22  Jackson Harper <jackson@ximian.com>
109
110         * regex.cs: Add CultureInvariant flag to RegexOptions.
111         
112 2003-11-20  Juraj Skripsky <js@hotfeet.ch>
113
114         * quicksearch.cs: Use a hashtable instead of an array for the
115         shift table to improve the memory usage.  
116
117 2003-11-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
118
119         * regex.cs:
120         (Split): include capture groups in the results, if any. Fixes bug
121         #51146.
122
123 2003-07-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
124
125         * regex.cs: patch from Eric Lindvall <eric@5stops.com> that fixes bug
126         #44830.
127
128 2003-03-05  Miguel de Icaza  <miguel@ximian.com>
129
130         * category.cs (CategoryUtils.CategoryFromName): Use StartsWith
131         ("Is") instead of a substring for (0,2) which was throwing an
132         exception causing Category.None to be returned
133
134 2003-01-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
135
136         * collections.cs: fixed bug #30091.
137
138 2002-12-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
139
140         * regex.cs: fixed little mistake (closes #35860).
141
142 2002-11-12 Jackson Harper <jackson@latitudegeo.com>
143
144         * arch.cs compiler.cs regex.cs: Added mapping attribute to MachineFactories
145
146 2002-11-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
147
148         * parser.cs: detect illegal \ at end of pattern. Fixes 31334.
149
150 2002-10-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
151
152         * parser.cs: applied fix from Tim Haynes (thaynes@openlinksw.com) to
153         solve bug #32807. Also modified GetMapping to return the same as MS.
154
155 2002-08-28  Juli Mallett  <jmallett@FreeBSD.org>
156
157         * arch.cs, compiler.cs: Give the interpreter machine a property
158         for the retrieval of the group count.
159
160         * regex.cs: Use the new GroupCount property of the factory to
161         initialise the current group count, and restructure code to compile
162         the pattern only the first time it is needed (essentially backing
163         out the previous revision of regex.cs, to use the new code.)
164
165 2002-08-14  Cesar Octavio Lopez Nataren <cesar@ciencias.unam.mx>
166
167         * regex.cs: Added the ctr for ISerializable implementation and
168         implemented the GetObjectData function.
169
170 2002-07-30  Juli Mallett  <jmallett@FreeBSD.org>
171
172         * regex.cs: Fixed bug where the expression would not be
173         re-evaluated for grouping purposes when factory caches were
174         used, resulting in no groups being recognised after one call
175         with a given pattern and no change in options.
176
177 2002-05-13  Dan Lewis  <dihlewis@yahoo.co.uk>
178
179         * regex.cs: Fixed bug in split.
180
181 2002-05-08  Dan Lewis  <dihlewis@yahoo.co.uk>
182
183         * interpreter.cs: Moved to an array-based stack representation
184         for faster captures.
185
186         * match.cs, collections.cs: Decoupled capture representation from
187         interpreter internals.
188
189         * cache.cs: Changed Key type from struct to class for speed.
190
191 2002-04-06  Dan Lewis  <dihlewis@yahoo.co.uk>
192
193         * cache.cs: Object methods should be overridden with "override".
194
195 2002-04-04  Dan Lewis  <dihlewis@yahoo.co.uk>
196
197         * RegexRunner.cs, RegexRunnerFactory.cs: MS support classes. Stubs
198         added for completeness.
199
200         * regex.cs, match.cs, collections.cs: Serializable attribute.
201
202 2002-04-04  Dan Lewis  <dihlewis@yahoo.co.uk>
203
204         * regex.cs: Added static Matches and IsMatch methods.
205
206 2002-04-03  Dan Lewis  <dihlewis@yahoo.co.uk>
207
208         * ChangeLog: Added changelog.
209
210         * cache.cs: Fixed bug in MRUList.Evict.