from ctor
* regex.cs: fixed public API signature by renaming protected
internal fields and adding destructor, added MonoTODO attribute to
fields and method that are not yet implemented, changed not
implemented methods to throw NotImplementedException instead of
Exception, fixed names of field that are serialized
svn path=/trunk/mcs/; revision=29210
debugging bug #58256. The original problem reported was about
inconsistency between the way we treat replacement patterns and the
way microsoft treats the replacement patterns in Regex.Replace(). MS
implementation is buggy and doesn't honour escape sequences in the
replacement patterns, even though the SDK claims otherwise.
svn path=/trunk/mcs/; revision=28912
* syntax.cs: re-applied my patch from 2004-05-27 plus a fix which is
emitting a Category.All if both a category and its negated value are
present.
svn path=/trunk/mcs/; revision=28609
* category.cs: added LastValue field to mark the end of enum Category.
* syntax.cs: in CharacterClass, use Category.LastValue to get the size
of the array needed. Use a BitArray instead of bool[].
In AddCategory(), don't set the opposite category as false. Fixes
bug #59150. All tests pass.
svn path=/trunk/mcs/; revision=28218
specified. The min bounds is set to -1, I am not completely sure
if that is what it is supposed to be but MS does not set it to 0
based on testing. Patch by [email protected]. Fixes bug
#56761.
svn path=/trunk/mcs/; revision=28061
* GroupCollection.cs:
* MatchCollection.cs:
* CaptureCollection.cs: Moved GroupCollection, MatchCollection and
CaptureCollection so that they no longer inherit from the
non-standard RegexCollectionBase class. Fixes the API difference.
svn path=/trunk/mcs/; revision=27175
* syntax.cs, interpreter.cs, quicksearch.cs, regex.cs, compiler.cs :
Revised support for RigthToLeft.
quicksearch has now an reverse option.
This fixes bug #54537
* regex.cs, compiler.cs :
Some code to support CILCompiler.
* regex.cs :
Added some undocumented of MS.
svn path=/trunk/mcs/; revision=24249
* syntax.cs, interval.cs: Applied patch from Marco Cravairo
through Francois Beauchemin who reviewed on the mailing list.
This fixes bug #45976
svn path=/trunk/mcs/; revision=22684
* System.Text.RegularExpressions/parser.cs: an opening brace without a
quantifier do not cause a parse error. Fixes bug #52924.
* Test/System.Text.RegularExpressions/RegexBugs.cs: added test from
bug #52924.
svn path=/trunk/mcs/; revision=22160
* quicksearch.cs: Create and use hashtable only for "long" search
strings.
(Search): Use simple scan for a single-character search strings.
(GetChar): Simplify case sensitivity handling.
svn path=/trunk/mcs/; revision=20680
* System.Text.RegularExpressions/interpreter.cs: when evaluating a
degenerate match, restore the RepeatContext if fail. Fixes bug #42529.
* Test/System.Text.RegularExpressions/RegexBugs.cs: added tests from
bug #42529.
svn path=/trunk/mcs/; revision=20536
* System_test.dll.sources: added new RegexBugs test.
* System.Text.RegularExpressions/regex.cs:
(Split): include capture groups in the results, if any. Fixes bug
#51146.
* Test/system_linux_test.args: removed. Not needed any more.
svn path=/trunk/mcs/; revision=20219
* category.cs (CategoryUtils.CategoryFromName): Use StartsWith
("Is") instead of a substring for (0,2) which was throwing an
exception causing Category.None to be returned
svn path=/trunk/mcs/; revision=12228
* parser.cs: applied fix from Tim Haynes ([email protected]) to
solve bug #32807. Also modified GetMapping to return the same as MS.
svn path=/trunk/mcs/; revision=8549
* arch.cs, compiler.cs: Give the interpreter machine a property
for the retrieval of the group count.
* regex.cs: Use the new GroupCount property of the factory to
initialise the current group count, and restructure code to compile
the pattern only the first time it is needed (essentially backing
out the previous revision of regex.cs, to use the new code.)
svn path=/trunk/mcs/; revision=7132
2002-08-14 Cesar Octavio Lopez Nataren <[email protected]>
* regex.cs: Added the ctr for ISerializable implementation and
implemented the GetObjectData function.
2002-08-14 Cesar Octavio Lopez Nataren <[email protected]>
* SoapFault.cs: Added the ctr for ISerializable implementation and
implemented GetObjectData.
2002-08-14 Cesar Octavio Lopez Nataren <[email protected]>
* WeakReference.cs: Changed the constructor and GetObjectData
method needed for ISerializable implementation in order to be
compatible with SOAP generated by MS.
svn path=/trunk/mcs/; revision=6676
2002-07-30 Juli Mallett <[email protected]>
* regex.cs: Fixed bug where the expression would not be
re-evaluated for grouping purposes when factory caches were
used, resulting in no groups being recognised after one call
with a given pattern and no change in options.
svn path=/trunk/mcs/; revision=6299
* interpreter.cs: Moved to an array-based stack representation
for faster captures.
* match.cs, collections.cs: Decoupled capture representation from
interpreter internals.
* cache.cs: Changed Key type from struct to class for speed.
svn path=/trunk/mcs/; revision=4415