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