--- /dev/null
+//\r
+// assembly: System\r
+// namespace: System.Text.RegularExpressions\r
+// file: RegexRunner.cs\r
+//\r
+// author: Dan Lewis (dihlewis@yahoo.co.uk)\r
+// (c) 2002\r
+\r
+using System;\r
+\r
+namespace System.Text.RegularExpressions {\r
+ \r
+ public abstract class RegexRunner {\r
+ // constructor\r
+ \r
+ protected internal RegexRunner () {\r
+ throw new NotImplementedException ("RegexRunner is not supported by Mono.");\r
+ }\r
+\r
+ // protected abstract\r
+\r
+ protected abstract bool FindFirstChar ();\r
+\r
+ protected abstract void Go ();\r
+\r
+ protected abstract void InitTrackCount ();\r
+\r
+ // protected methods\r
+\r
+ protected void Capture (int capnum, int start, int end) {\r
+ }\r
+\r
+ protected static bool CharInSet (char ch, string set, string category) {\r
+ return false;\r
+ }\r
+\r
+ protected void Crawl (int i) {\r
+ }\r
+\r
+ protected int CrawlPos () {\r
+ return 0;\r
+ }\r
+\r
+ protected void DoubleCrawl () {\r
+ }\r
+\r
+ protected void DoubleStack () {\r
+ }\r
+\r
+ protected void DoubleTrack () {\r
+ }\r
+\r
+ protected void EnsureStorage () {\r
+ }\r
+\r
+ protected bool IsBoundary (int index, int startpos, int endpos) {\r
+ return false;\r
+ }\r
+\r
+ protected bool IsECMABoundary (int index, int startpos, int endpos) {\r
+ return false;\r
+ }\r
+\r
+ protected bool IsMatched (int cap) {\r
+ return false;\r
+ }\r
+\r
+ protected int MatchIndex (int cap) {\r
+ return 0;\r
+ }\r
+\r
+ protected int MatchLength (int cap) {\r
+ return 0;\r
+ }\r
+\r
+ protected int PopCrawl () {\r
+ return 0;\r
+ }\r
+\r
+ protected void TransferCapture (int capnum, int uncapnum, int start, int end) {\r
+ }\r
+\r
+ protected void Uncapture () {\r
+ }\r
+\r
+ // internal\r
+ \r
+ protected internal Match Scan (Regex regex, string text, int textbeg, int textend, int textstart, int prevlen, bool quick) {\r
+ return null;\r
+ }\r
+ }\r
+}\r
--- /dev/null
+//\r
+// assembly: System\r
+// namespace: System.Text.RegularExpressions\r
+// file: RegexRunnerFactory.cs\r
+//\r
+// author: Dan Lewis (dihlewis@yahoo.co.uk)\r
+// (c) 2002\r
+\r
+using System;\r
+\r
+namespace System.Text.RegularExpressions {\r
+ \r
+ public abstract class RegexRunnerFactory {\r
+ protected RegexRunnerFactory () {\r
+ throw new NotImplementedException ("RegexRunnerFactory is not supported by Mono.");\r
+ }\r
+\r
+ protected internal abstract RegexRunner CreateInstance ();\r
+ }\r
+}\r
}\r
}\r
\r
+ [Serializable]\r
public class GroupCollection : RegexCollectionBase, ICollection, IEnumerable {\r
public Group this[int i] {\r
get { return (Group)list[i]; }\r
}\r
}\r
\r
+ [Serializable]\r
public class MatchCollection : RegexCollectionBase, ICollection, IEnumerable {\r
public virtual Match this[int i] {\r
get { return (Match)list[i]; }\r