1 2004-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3 * regex.cs: in Replace, when count is negative, replacement continues
4 to the end of the string.
6 Fixes bug #68398. Patch by Jon Larimer.
8 2004-06-10 Gert Driesen <drieseng@users.sourceforge.net>
10 * RegexRunner.cs: fixed case mismatch of methods
12 2004-06-10 Gert Driesen <drieseng@users.sourceforge.net>
14 * RegexRunner.cs: marked TODO, added missing protected internal
15 fields, throw NotImplementedException in all methods
17 2004-06-10 Gert Driesen <drieseng@users.sourceforge.net>
19 * RegexRunnerFactory.cs: removed comment, no longer throw exception
21 * regex.cs: fixed public API signature by renaming protected
22 internal fields and adding destructor, added MonoTODO attribute to
23 fields and method that are not yet implemented, changed not
24 implemented methods to throw NotImplementedException instead of
25 Exception, fixed names of field that are serialized
27 2004-06-06 Jambunathan K <kjambunathan@novell.com>
29 * parser.cs: Fixed issues with Regex.Unescape() identified as part of
30 debugging bug #58256. The original problem reported was about
31 inconsistency between the way we treat replacement patterns and the
32 way microsoft treats the replacement patterns in Regex.Replace(). MS
33 implementation is buggy and doesn't honour escape sequences in the
34 replacement patterns, even though the SDK claims otherwise.
37 2004-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
39 * syntax.cs: re-applied my patch from 2004-05-27 plus a fix which is
40 emitting a Category.All if both a category and its negated value are
43 2004-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
45 * syntax.cs: reverting my previous patch. It causes bigger problems.
47 2004-05-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
49 * category.cs: added LastValue field to mark the end of enum Category.
50 * syntax.cs: in CharacterClass, use Category.LastValue to get the size
51 of the array needed. Use a BitArray instead of bool[].
52 In AddCategory(), don't set the opposite category as false. Fixes
53 bug #59150. All tests pass.
55 2004-05-25 Jackson Harper <jackson@ximian.com>
57 * parser.cs: Allow creating a regular expression using {,n} as the
58 specified. The min bounds is set to -1, I am not completely sure
59 if that is what it is supposed to be but MS does not set it to 0
60 based on testing. Patch by dave-gnome-bugs@earth.li. Fixes bug #56761.
62 2004-05-12 Dick Porter <dick@ximian.com>
66 * RegexRunnerFactory.cs:
67 * RegexRunner.cs: More public API difference fixes.
71 * CaptureCollection.cs: Moved GroupCollection, MatchCollection and
72 CaptureCollection so that they no longer inherit from the
73 non-standard RegexCollectionBase class. Fixes the API difference.
75 2004-04-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
82 Patch by Eric Durand Tremblay.
83 1) Capture inner group when named.
84 2) Resolved parse error caused by not capturing inner group
85 3) Resolved incorrect capture group
86 4) Now, not capturing anything when unnamed ( correct behavior)
89 2004-04-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
95 * syntax.cs: converted to unix line endings.
97 2004-03-30 Lluis Sanchez Gual <lluis@ximian.com>
99 * collections.cs: In the indexer, return an empty group if the requested
101 * match.cs: Added default constructor for Group.
103 2004-03-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
105 * parser.cs: fixed group numbering.
107 2004-03-22 Jackson Harper <jackson@ximian.com>
109 * parser.cs: Use the group number as the name in mapping. Patch by
111 * regex.cs: Fix off by one error. Patch by Gert Driesen.
113 2004-03-17 Francois Beauchemin <beauche@softhome.net>
114 * syntax.cs, interpreter.cs, quicksearch.cs, regex.cs, compiler.cs :
115 Revised support for RigthToLeft.
116 quicksearch has now an reverse option.
117 This fixes bug #54537
119 * regex.cs, compiler.cs :
120 Some code to support CILCompiler.
122 Added some undocumented of MS.
124 2004-03-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
126 * parser.cs: allow a @"\0" escape sequence. Fixes bug #54797.
128 2004-02-01 Miguel de Icaza <miguel@ximian.com>
130 * syntax.cs, interval.cs: Applied patch from Marco Cravairo
131 through Francois Beauchemin who reviewed on the mailing list.
132 This fixes bug #45976
134 2004-01-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
136 * parser.cs: an opening brace without a
137 quantifier do not cause a parse error. Fixes bug #52924.
139 2004-01-07 Lluis Sanchez Gual <lluis@ximian.com>
141 * regex.cs: In Split(), if the last match is at the end of the string,
142 an empty string must be added to the array of results.
144 2003-12-15 Sanjay Gupta <gsanjay@novell.com>
145 * match.cs: Check for null value before Substring method call.
148 2003-11-21 Juraj Skripsky <js@hotfeet.ch>
150 * quicksearch.cs: Create and use hashtable only for "long" search
153 (Search): Use simple scan for a single-character search strings.
155 (GetChar): Simplify case sensitivity handling.
157 2003-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
159 * interpreter.cs: when evaluating a degenerate match, restore the
160 RepeatContext if fail. Fixes bug #42529.
162 2003-11-22 Jackson Harper <jackson@ximian.com>
164 * regex.cs: Add CultureInvariant flag to RegexOptions.
166 2003-11-20 Juraj Skripsky <js@hotfeet.ch>
168 * quicksearch.cs: Use a hashtable instead of an array for the
169 shift table to improve the memory usage.
171 2003-11-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
174 (Split): include capture groups in the results, if any. Fixes bug
177 2003-07-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
179 * regex.cs: patch from Eric Lindvall <eric@5stops.com> that fixes bug
182 2003-03-05 Miguel de Icaza <miguel@ximian.com>
184 * category.cs (CategoryUtils.CategoryFromName): Use StartsWith
185 ("Is") instead of a substring for (0,2) which was throwing an
186 exception causing Category.None to be returned
188 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
190 * collections.cs: fixed bug #30091.
192 2002-12-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
194 * regex.cs: fixed little mistake (closes #35860).
196 2002-11-12 Jackson Harper <jackson@latitudegeo.com>
198 * arch.cs compiler.cs regex.cs: Added mapping attribute to MachineFactories
200 2002-11-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
202 * parser.cs: detect illegal \ at end of pattern. Fixes 31334.
204 2002-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
206 * parser.cs: applied fix from Tim Haynes (thaynes@openlinksw.com) to
207 solve bug #32807. Also modified GetMapping to return the same as MS.
209 2002-08-28 Juli Mallett <jmallett@FreeBSD.org>
211 * arch.cs, compiler.cs: Give the interpreter machine a property
212 for the retrieval of the group count.
214 * regex.cs: Use the new GroupCount property of the factory to
215 initialise the current group count, and restructure code to compile
216 the pattern only the first time it is needed (essentially backing
217 out the previous revision of regex.cs, to use the new code.)
219 2002-08-14 Cesar Octavio Lopez Nataren <cesar@ciencias.unam.mx>
221 * regex.cs: Added the ctr for ISerializable implementation and
222 implemented the GetObjectData function.
224 2002-07-30 Juli Mallett <jmallett@FreeBSD.org>
226 * regex.cs: Fixed bug where the expression would not be
227 re-evaluated for grouping purposes when factory caches were
228 used, resulting in no groups being recognised after one call
229 with a given pattern and no change in options.
231 2002-05-13 Dan Lewis <dihlewis@yahoo.co.uk>
233 * regex.cs: Fixed bug in split.
235 2002-05-08 Dan Lewis <dihlewis@yahoo.co.uk>
237 * interpreter.cs: Moved to an array-based stack representation
240 * match.cs, collections.cs: Decoupled capture representation from
241 interpreter internals.
243 * cache.cs: Changed Key type from struct to class for speed.
245 2002-04-06 Dan Lewis <dihlewis@yahoo.co.uk>
247 * cache.cs: Object methods should be overridden with "override".
249 2002-04-04 Dan Lewis <dihlewis@yahoo.co.uk>
251 * RegexRunner.cs, RegexRunnerFactory.cs: MS support classes. Stubs
252 added for completeness.
254 * regex.cs, match.cs, collections.cs: Serializable attribute.
256 2002-04-04 Dan Lewis <dihlewis@yahoo.co.uk>
258 * regex.cs: Added static Matches and IsMatch methods.
260 2002-04-03 Dan Lewis <dihlewis@yahoo.co.uk>
262 * ChangeLog: Added changelog.
264 * cache.cs: Fixed bug in MRUList.Evict.