|
public class Regex
|
public class Regex
|
|
|
: ISerializable
|
|
static public Int32 CacheSize { get; set; }
|
static public Int32 CacheSize { get; set; }
|
|
|
public TimeSpan MatchTimeout { get; }
|
|
public RegexOptions Options { get; }
|
public RegexOptions Options { get; }
|
|
public Boolean RightToLeft { get; }
|
public Boolean RightToLeft { get; }
|
|
|
static public void CompileToAssembly(RegexCompilationInfo regexinfos, AssemblyName assemblyname);
|
|
|
static public void CompileToAssembly(RegexCompilationInfo regexinfos, AssemblyName assemblyname, CustomAttributeBuilder[] attributes);
|
|
|
static public void CompileToAssembly(RegexCompilationInfo regexinfos, AssemblyName assemblyname, CustomAttributeBuilder[] attributes, String resourceFile);
|
|
static public String Escape(String str);
|
static public String Escape(String str);
|
|
public String GetGroupNames();
|
public String GetGroupNames();
|
|
public Int32 GetGroupNumbers();
|
public Int32 GetGroupNumbers();
|
|
public String GroupNameFromNumber(Int32 i);
|
public String GroupNameFromNumber(Int32 i);
|
|
public Int32 GroupNumberFromName(String name);
|
public Int32 GroupNumberFromName(String name);
|
|
|
protected void InitializeReferences();
|
|
static public Boolean IsMatch(String input, String pattern);
|
static public Boolean IsMatch(String input, String pattern);
|
|
static public Boolean IsMatch(String input, String pattern, RegexOptions options);
|
static public Boolean IsMatch(String input, String pattern, RegexOptions options);
|
|
|
static public Boolean IsMatch(String input, String pattern, RegexOptions options, TimeSpan matchTimeout);
|
|
public Boolean IsMatch(String input);
|
public Boolean IsMatch(String input);
|
|
public Boolean IsMatch(String input, Int32 startat);
|
public Boolean IsMatch(String input, Int32 startat);
|
|
static public Match Match(String input, String pattern);
|
static public Match Match(String input, String pattern);
|
|
static public Match Match(String input, String pattern, RegexOptions options);
|
static public Match Match(String input, String pattern, RegexOptions options);
|
|
|
static public Match Match(String input, String pattern, RegexOptions options, TimeSpan matchTimeout);
|
|
public Match Match(String input);
|
public Match Match(String input);
|
|
public Match Match(String input, Int32 startat);
|
public Match Match(String input, Int32 startat);
|
|
public Match Match(String input, Int32 beginning, Int32 length);
|
public Match Match(String input, Int32 beginning, Int32 length);
|
|
static public MatchCollection Matches(String input, String pattern);
|
static public MatchCollection Matches(String input, String pattern);
|
|
static public MatchCollection Matches(String input, String pattern, RegexOptions options);
|
static public MatchCollection Matches(String input, String pattern, RegexOptions options);
|
|
|
static public MatchCollection Matches(String input, String pattern, RegexOptions options, TimeSpan matchTimeout);
|
|
public MatchCollection Matches(String input);
|
public MatchCollection Matches(String input);
|
|
public MatchCollection Matches(String input, Int32 startat);
|
public MatchCollection Matches(String input, Int32 startat);
|
|
static public String Replace(String input, String pattern, String replacement);
|
static public String Replace(String input, String pattern, String replacement);
|
|
static public String Replace(String input, String pattern, String replacement, RegexOptions options);
|
static public String Replace(String input, String pattern, String replacement, RegexOptions options);
|
|
|
static public String Replace(String input, String pattern, String replacement, RegexOptions options, TimeSpan matchTimeout);
|
|
public String Replace(String input, String replacement);
|
public String Replace(String input, String replacement);
|
|
public String Replace(String input, String replacement, Int32 count);
|
public String Replace(String input, String replacement, Int32 count);
|
|
public String Replace(String input, String replacement, Int32 count, Int32 startat);
|
public String Replace(String input, String replacement, Int32 count, Int32 startat);
|
|
static public String Replace(String input, String pattern, MatchEvaluator evaluator);
|
static public String Replace(String input, String pattern, MatchEvaluator evaluator);
|
|
static public String Replace(String input, String pattern, MatchEvaluator evaluator, RegexOptions options);
|
static public String Replace(String input, String pattern, MatchEvaluator evaluator, RegexOptions options);
|
|
|
static public String Replace(String input, String pattern, MatchEvaluator evaluator, RegexOptions options, TimeSpan matchTimeout);
|
|
public String Replace(String input, MatchEvaluator evaluator);
|
public String Replace(String input, MatchEvaluator evaluator);
|
|
public String Replace(String input, MatchEvaluator evaluator, Int32 count);
|
public String Replace(String input, MatchEvaluator evaluator, Int32 count);
|
|
public String Replace(String input, MatchEvaluator evaluator, Int32 count, Int32 startat);
|
public String Replace(String input, MatchEvaluator evaluator, Int32 count, Int32 startat);
|
|
static public String Split(String input, String pattern);
|
static public String Split(String input, String pattern);
|
|
static public String Split(String input, String pattern, RegexOptions options);
|
static public String Split(String input, String pattern, RegexOptions options);
|
|
|
static public String Split(String input, String pattern, RegexOptions options, TimeSpan matchTimeout);
|
|
public String Split(String input);
|
public String Split(String input);
|
|
public String Split(String input, Int32 count);
|
public String Split(String input, Int32 count);
|
|
public String Split(String input, Int32 count, Int32 startat);
|
public String Split(String input, Int32 count, Int32 startat);
|
|
public virtual String ToString();
|
public virtual String ToString();
|
|
static public String Unescape(String str);
|
static public String Unescape(String str);
|
|
|
protected Boolean UseOptionC();
|
|
|
protected Boolean UseOptionR();
|
|
|
public abstract class RegexRunner
|
|
|
|
|
|
protected void Capture(Int32 capnum, Int32 start, Int32 end);
|
|
|
static protected Boolean CharInClass(Char ch, String charClass);
|
|
|
static protected Boolean CharInSet(Char ch, String set, String category);
|
|
|
protected void CheckTimeout();
|
|
|
protected void Crawl(Int32 i);
|
|
|
protected Int32 Crawlpos();
|
|
|
protected void DoubleCrawl();
|
|
|
protected void DoubleStack();
|
|
|
protected void DoubleTrack();
|
|
|
protected void EnsureStorage();
|
|
|
protected abstract virtual Boolean FindFirstChar();
|
|
|
protected abstract virtual void Go();
|
|
|
protected abstract virtual void InitTrackCount();
|
|
|
protected Boolean IsBoundary(Int32 index, Int32 startpos, Int32 endpos);
|
|
|
protected Boolean IsECMABoundary(Int32 index, Int32 startpos, Int32 endpos);
|
|
|
protected Boolean IsMatched(Int32 cap);
|
|
|
protected Int32 MatchIndex(Int32 cap);
|
|
|
protected Int32 MatchLength(Int32 cap);
|
|
|
protected Int32 Popcrawl();
|
|
|
internal protected Match Scan(Regex regex, String text, Int32 textbeg, Int32 textend, Int32 textstart, Int32 prevlen, Boolean quick);
|
|
|
internal protected Match Scan(Regex regex, String text, Int32 textbeg, Int32 textend, Int32 textstart, Int32 prevlen, Boolean quick, TimeSpan timeout);
|
|
|
protected void TransferCapture(Int32 capnum, Int32 uncapnum, Int32 start, Int32 end);
|
|
|
protected void Uncapture();
|